Commit 79e2fce9 authored by Aditya Agrawal's avatar Aditya Agrawal Committed by Carlos Llamas
Browse files

ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle



Some vendors want to add a field when a 'sruct sock' is added so give a
hook to handle this.  Any memory allocated when
trace_android_rvh_sk_alloc() is called needs to be freed when
trace_android_rvh_sk_free() is called.

Note, if trace_android_rvh_sk_alloc() fails, be sure to be able to
handle this in trace_android_rvh_sk_free(), but that should not be an
issue as that needs to be addressed in vendor code that runs for 'struct
sock' objects that have been created before the vendor code is loaded no
matter what.

Bug: 171013716
Change-Id: I108a2f31d2dcc228f46159816deee6235afafbbd
Signed-off-by: default avatarAditya Agrawal <aditya.a1@samsung.com>
parent 995d95a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment