kernel: tune fq_codel defaults for common netdevice speeds
[oweals/openwrt.git] / target / linux / generic / patches-3.8 / 902-debloat_proc.patch
index e994c5b8838a329e1be1c557a7beeab85b6cd5f2..a9226dc3e9e5102bc8ce51531cfeb1deea57c698 100644 (file)
                goto err;
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -4578,9 +4578,11 @@ static int __net_init dev_proc_net_init(
+@@ -4584,9 +4584,11 @@ static int __net_init dev_proc_net_init(
  
        if (!proc_net_fops_create(net, "dev", S_IRUGO, &dev_seq_fops))
                goto out;
                goto out_softnet;
  
        if (wext_proc_init(net))
-@@ -4589,9 +4591,11 @@ static int __net_init dev_proc_net_init(
+@@ -4595,9 +4597,11 @@ static int __net_init dev_proc_net_init(
  out:
        return rc;
  out_ptype:
  out_dev:
        proc_net_remove(net, "dev");
        goto out;
-@@ -4601,8 +4605,10 @@ static void __net_exit dev_proc_net_exit
+@@ -4607,8 +4611,10 @@ static void __net_exit dev_proc_net_exit
  {
        wext_proc_exit(net);
  
                                "       key      shmid perms       size  cpid  lpid nattch   uid   gid  cuid  cgid      atime      dtime      ctime        rss       swap\n",
 --- a/ipc/util.c
 +++ b/ipc/util.c
-@@ -148,6 +148,9 @@ void __init ipc_init_proc_interface(cons
+@@ -149,6 +149,9 @@ void __init ipc_init_proc_interface(cons
        struct proc_dir_entry *pde;
        struct ipc_proc_iface *iface;