diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-10 13:45:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-04-10 13:45:12 +0000 |
commit | 06733c265084ba453c192ebfc203d3f4f230643a (patch) | |
tree | 97df6a33c1063cd19fc95e4ac29bbc85e7d02339 /target | |
parent | a41fb84d2f46207084b890426c7e55508d4c9b91 (diff) | |
download | mtk-20170518-06733c265084ba453c192ebfc203d3f4f230643a.zip mtk-20170518-06733c265084ba453c192ebfc203d3f4f230643a.tar.gz mtk-20170518-06733c265084ba453c192ebfc203d3f4f230643a.tar.bz2 |
kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36307
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/patches-3.8/902-debloat_proc.patch | 11 | ||||
-rw-r--r-- | target/linux/generic/patches-3.9/902-debloat_proc.patch | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/generic/patches-3.8/902-debloat_proc.patch b/target/linux/generic/patches-3.8/902-debloat_proc.patch index a9226dc..650b3c2 100644 --- a/target/linux/generic/patches-3.8/902-debloat_proc.patch +++ b/target/linux/generic/patches-3.8/902-debloat_proc.patch @@ -255,17 +255,6 @@ proc_net_remove(net, "route"); } ---- a/net/ipv4/igmp.c -+++ b/net/ipv4/igmp.c -@@ -2673,6 +2673,8 @@ static struct pernet_operations igmp_net - - int __init igmp_mc_proc_init(void) - { -+ if (IS_ENABLED(CONFIG_PROC_STRIPPED)) -+ return 0; - return register_pernet_subsys(&igmp_net_ops); - } - #endif --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -71,6 +71,10 @@ diff --git a/target/linux/generic/patches-3.9/902-debloat_proc.patch b/target/linux/generic/patches-3.9/902-debloat_proc.patch index 3d291f0..48ad12c 100644 --- a/target/linux/generic/patches-3.9/902-debloat_proc.patch +++ b/target/linux/generic/patches-3.9/902-debloat_proc.patch @@ -225,17 +225,6 @@ remove_proc_entry("route", net->proc_net); } ---- a/net/ipv4/igmp.c -+++ b/net/ipv4/igmp.c -@@ -2674,6 +2674,8 @@ static struct pernet_operations igmp_net - - int __init igmp_mc_proc_init(void) - { -+ if (IS_ENABLED(CONFIG_PROC_STRIPPED)) -+ return 0; - return register_pernet_subsys(&igmp_net_ops); - } - #endif --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -71,6 +71,10 @@ |