kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by...
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.6 / 902-debloat_proc.patch
index f3fd7772778c2fb6f3f9fd6085b3580f94786153..6bbe9d63d2df0e1563d909848074b73fca0c9652 100644 (file)
        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