patch-2.4.20 linux-2.4.20/net/core/sysctl_net_core.c
Next file: linux-2.4.20/net/core/wireless.c
Previous file: linux-2.4.20/net/core/rtnetlink.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/net/core/sysctl_net_core.c
- Orig date:
Tue Oct 10 10:33:52 2000
diff -urN linux-2.4.19/net/core/sysctl_net_core.c linux-2.4.20/net/core/sysctl_net_core.c
@@ -12,6 +12,7 @@
#ifdef CONFIG_SYSCTL
extern int netdev_max_backlog;
+extern int weight_p;
extern int no_cong_thresh;
extern int no_cong;
extern int lo_cong;
@@ -47,6 +48,9 @@
{NET_CORE_RMEM_DEFAULT, "rmem_default",
&sysctl_rmem_default, sizeof(int), 0644, NULL,
&proc_dointvec},
+ {NET_CORE_DEV_WEIGHT, "dev_weight",
+ &weight_p, sizeof(int), 0644, NULL,
+ &proc_dointvec},
{NET_CORE_MAX_BACKLOG, "netdev_max_backlog",
&netdev_max_backlog, sizeof(int), 0644, NULL,
&proc_dointvec},
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)