kernel: make zlib and lzo modules selectable
[oweals/openwrt.git] / target / linux / generic / patches-3.9 / 902-debloat_proc.patch
index 318db6370d3ba2ea27c3caa23a0c5a89e331e317..de5b1c6fb8738382941ddb1c3c5fbc9570d6e8bf 100644 (file)
        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