projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.14 to 4.14.93
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
generic
/
hack-4.14
/
901-debloat_sock_diag.patch
diff --git
a/target/linux/generic/hack-4.14/901-debloat_sock_diag.patch
b/target/linux/generic/hack-4.14/901-debloat_sock_diag.patch
index 29071d63c96d897b6d751eb4ee7f3a950c937c11..d250843a6a26397bde4d44dfc3f6c008e5c65df2 100644
(file)
--- a/
target/linux/generic/hack-4.14/901-debloat_sock_diag.patch
+++ b/
target/linux/generic/hack-4.14/901-debloat_sock_diag.patch
@@
-66,7
+66,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
static void __sk_free(struct sock *sk)
{
+#ifdef CONFIG_SOCK_DIAG
static void __sk_free(struct sock *sk)
{
+#ifdef CONFIG_SOCK_DIAG
- if (unlikely(s
ock_diag_has_destroy_listeners(sk) && sk->sk_net_refcnt
))
+ if (unlikely(s
k->sk_net_refcnt && sock_diag_has_destroy_listeners(sk)
))
sock_diag_broadcast_destroy(sk);
else
+#endif
sock_diag_broadcast_destroy(sk);
else
+#endif