mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: Fix build-break caused by android_rvh_nf_conn_alloc hook
The new android_rvh_nf_conn_alloc hook was not declared properly
so kernelci builds break if !CONFIG_ANDROID_VENDOR_HOOKS.
Fixes: 01435b2e91 ("ANDROID: GKI: net: add vendor hooks
for 'struct nf_conn' lifecycle")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I1208dc440836687a9c5621323ff1cf5a5bec862b
This commit is contained in:
parent
23277e6506
commit
7a0b784363
1 changed files with 2 additions and 2 deletions
|
|
@ -34,8 +34,8 @@ DECLARE_RESTRICTED_HOOK(android_rvh_nf_conn_free,
|
|||
#define trace_android_vh_kfree_skb(skb)
|
||||
#define trace_android_rvh_sk_alloc(sock)
|
||||
#define trace_android_rvh_sk_free(sock)
|
||||
#define trace_android_rvh_sk_alloc(nf_conn)
|
||||
#define trace_android_rvh_sk_free(nf_conn)
|
||||
#define trace_android_rvh_nf_conn_alloc(nf_conn)
|
||||
#define trace_android_rvh_nf_conn_free(nf_conn)
|
||||
#endif
|
||||
#endif /* _TRACE_HOOK_NET_VH_H */
|
||||
/* This part must be outside protection */
|
||||
|
|
|
|||
Loading…
Reference in a new issue