From 06733c265084ba453c192ebfc203d3f4f230643a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 10 Apr 2013 13:45:12 +0000 Subject: kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it Signed-off-by: Felix Fietkau SVN-Revision: 36307 --- target/linux/generic/patches-3.9/902-debloat_proc.patch | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'target/linux/generic/patches-3.9/902-debloat_proc.patch') 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 @@ -- cgit v1.2.3