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 f3fd7772778c2fb6f3f9fd6085b3580f94786153..6bbe9d63d2df0e1563d909848074b73fca0c9652 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 390a447d34a4676d6b6ee4280551300288c58d3b..eb877a7bdf72d5bc66bdaa8507af81969361e09f 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 ba58ce3177052b233ff6c71a4c7967e29c696be8..4479e44998cb14f8a85f8fed1a7f2397aa29d050 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 318db6370d3ba2ea27c3caa23a0c5a89e331e317..de5b1c6fb8738382941ddb1c3c5fbc9570d6e8bf 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