From a4d2403e7e7b19ca0f9214cfc1f25a2afcfda10b Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 2 May 2013 15:59:57 +0000 Subject: kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by iproute2 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36529 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/patches-3.6/902-debloat_proc.patch | 13 ------------- target/linux/generic/patches-3.7/902-debloat_proc.patch | 13 ------------- target/linux/generic/patches-3.8/902-debloat_proc.patch | 13 ------------- target/linux/generic/patches-3.9/902-debloat_proc.patch | 13 ------------- 4 files changed, 52 deletions(-) diff --git a/target/linux/generic/patches-3.6/902-debloat_proc.patch b/target/linux/generic/patches-3.6/902-debloat_proc.patch index f3fd77727..6bbe9d63d 100644 --- a/target/linux/generic/patches-3.6/902-debloat_proc.patch +++ b/target/linux/generic/patches-3.6/902-debloat_proc.patch @@ -266,19 +266,6 @@ return register_pernet_subsys(&igmp_net_ops); } #endif ---- a/net/ipv4/ipmr.c -+++ b/net/ipv4/ipmr.c -@@ -70,6 +70,10 @@ - #define CONFIG_IP_PIMSM 1 - #endif - -+#ifdef CONFIG_PROC_STRIPPED -+#undef CONFIG_PROC_FS -+#endif -+ - struct mr_table { - struct list_head list; - #ifdef CONFIG_NET_NS --- a/net/ipv4/proc.c +++ b/net/ipv4/proc.c @@ -498,6 +498,9 @@ static __net_initdata struct pernet_oper diff --git a/target/linux/generic/patches-3.7/902-debloat_proc.patch b/target/linux/generic/patches-3.7/902-debloat_proc.patch index 390a447d3..eb877a7bd 100644 --- a/target/linux/generic/patches-3.7/902-debloat_proc.patch +++ b/target/linux/generic/patches-3.7/902-debloat_proc.patch @@ -266,19 +266,6 @@ return register_pernet_subsys(&igmp_net_ops); } #endif ---- a/net/ipv4/ipmr.c -+++ b/net/ipv4/ipmr.c -@@ -70,6 +70,10 @@ - #define CONFIG_IP_PIMSM 1 - #endif - -+#ifdef CONFIG_PROC_STRIPPED -+#undef CONFIG_PROC_FS -+#endif -+ - struct mr_table { - struct list_head list; - #ifdef CONFIG_NET_NS --- a/net/ipv4/proc.c +++ b/net/ipv4/proc.c @@ -502,6 +502,9 @@ static __net_initdata struct pernet_oper 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 ba58ce317..4479e4499 100644 --- a/target/linux/generic/patches-3.8/902-debloat_proc.patch +++ b/target/linux/generic/patches-3.8/902-debloat_proc.patch @@ -255,19 +255,6 @@ proc_net_remove(net, "route"); } ---- a/net/ipv4/ipmr.c -+++ b/net/ipv4/ipmr.c -@@ -71,6 +71,10 @@ - #define CONFIG_IP_PIMSM 1 - #endif - -+#ifdef CONFIG_PROC_STRIPPED -+#undef CONFIG_PROC_FS -+#endif -+ - struct mr_table { - struct list_head list; - #ifdef CONFIG_NET_NS --- a/net/ipv4/proc.c +++ b/net/ipv4/proc.c @@ -502,6 +502,9 @@ static __net_initdata struct pernet_oper 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 318db6370..de5b1c6fb 100644 --- a/target/linux/generic/patches-3.9/902-debloat_proc.patch +++ b/target/linux/generic/patches-3.9/902-debloat_proc.patch @@ -225,19 +225,6 @@ remove_proc_entry("route", net->proc_net); } ---- a/net/ipv4/ipmr.c -+++ b/net/ipv4/ipmr.c -@@ -71,6 +71,10 @@ - #define CONFIG_IP_PIMSM 1 - #endif - -+#ifdef CONFIG_PROC_STRIPPED -+#undef CONFIG_PROC_FS -+#endif -+ - struct mr_table { - struct list_head list; - #ifdef CONFIG_NET_NS --- a/net/ipv4/proc.c +++ b/net/ipv4/proc.c @@ -503,6 +503,9 @@ static __net_initdata struct pernet_oper -- cgit v1.2.3