OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 39... | Line 39... | |||
39 | obj-$(CONFIG_XFRM) += flow.o |
39 | obj-$(CONFIG_XFRM) += flow.o |
|
40 | obj-y += net-sysfs.o |
40 | obj-y += net-sysfs.o |
|
41 | obj-$(CONFIG_PROC_FS) += net-procfs.o |
41 | obj-$(CONFIG_PROC_FS) += net-procfs.o |
|
42 | --- a/net/core/sock.c |
42 | --- a/net/core/sock.c |
|
43 | +++ b/net/core/sock.c |
43 | +++ b/net/core/sock.c |
|
44 | @@ -1458,9 +1458,11 @@ void sk_destruct(struct sock *sk) |
44 | @@ -1457,9 +1457,11 @@ void sk_destruct(struct sock *sk) |
|
Line 45... | Line 45... | |||
45 | |
45 | |
|
46 | static void __sk_free(struct sock *sk) |
46 | static void __sk_free(struct sock *sk) |
|
47 | { |
47 | { |
|
48 | +#ifdef CONFIG_SOCK_DIAG |
48 | +#ifdef CONFIG_SOCK_DIAG |