patch-2.1.90 linux/net/core/sysctl_net_core.c

Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/net/core/sysctl_net_core.c linux/net/core/sysctl_net_core.c
@@ -22,6 +22,7 @@
 extern __u32 sysctl_rmem_default;
 
 extern int sysctl_core_destroy_delay;
+extern int sysctl_optmem_max;
 
 ctl_table core_table[] = {
 	{NET_CORE_WMEM_MAX, "wmem_max",
@@ -53,6 +54,9 @@
 	{NET_CORE_MSG_BURST, "message_burst",
 	 &net_msg_burst, sizeof(int), 0644, NULL,
 	 &proc_dointvec_jiffies},
+	{NET_CORE_OPTMEM_MAX, "optmem_max",
+	 &sysctl_optmem_max, sizeof(int), 0644, NULL,
+	 &proc_dointvec},
 	{ 0 }
 };
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov