kernel: update bcma and ssb to wireless-testing master-2013-09-09
[oweals/openwrt.git] / target / linux / generic / patches-3.8 / 902-debloat_proc.patch
index ba58ce3177052b233ff6c71a4c7967e29c696be8..3ac9914fa2fd49f05bc8a0d9a0035dc03acd0e30 100644 (file)
  
 --- a/net/ipv4/fib_trie.c
 +++ b/net/ipv4/fib_trie.c
-@@ -2607,10 +2607,12 @@ static const struct file_operations fib_
+@@ -2608,10 +2608,12 @@ static const struct file_operations fib_
  
  int __net_init fib_proc_init(struct net *net)
  {
                                  &fib_triestat_fops))
                goto out2;
  
-@@ -2629,8 +2631,10 @@ out1:
+@@ -2630,8 +2632,10 @@ out1:
  
  void __net_exit fib_proc_exit(struct net *net)
  {
        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