kernel: allow building zsmalloc as a module again
[oweals/openwrt.git] / target / linux / generic / patches-3.8 / 902-debloat_proc.patch
index ba58ce3177052b233ff6c71a4c7967e29c696be8..4479e44998cb14f8a85f8fed1a7f2397aa29d050 100644 (file)
        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