aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-10 13:45:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-10 13:45:12 +0000
commit89cca284e2465871e8a7e28e7714f28b1397b7ba (patch)
tree18fc76e921d24f41c08ea95919206cdb48109e45 /target
parentdcf4015151426c759929a48ff4ab3fdb23924ea6 (diff)
downloadupstream-89cca284e2465871e8a7e28e7714f28b1397b7ba.tar.gz
upstream-89cca284e2465871e8a7e28e7714f28b1397b7ba.tar.bz2
upstream-89cca284e2465871e8a7e28e7714f28b1397b7ba.zip
kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36307 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/patches-3.8/902-debloat_proc.patch11
-rw-r--r--target/linux/generic/patches-3.9/902-debloat_proc.patch11
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 a9226dc3e9..650b3c2d05 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 3d291f0a31..48ad12cd93 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 @@