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

Next file: linux-2.4.25/net/decnet/dn_neigh.c
Previous file: linux-2.4.25/net/core/neighbour.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/net/core/sysctl_net_core.c linux-2.4.25/net/core/sysctl_net_core.c
@@ -28,6 +28,7 @@
 
 extern int sysctl_core_destroy_delay;
 extern int sysctl_optmem_max;
+extern int sysctl_somaxconn;
 extern int sysctl_hot_list_len;
 
 #ifdef CONFIG_NET_DIVERT
@@ -88,6 +89,9 @@
 	 (void *)sysctl_divert_version, 32, 0444, NULL,
 	 &proc_dostring},
 #endif /* CONFIG_NET_DIVERT */
+	{NET_CORE_SOMAXCONN, "somaxconn",
+	 &sysctl_somaxconn, sizeof(int), 0644, NULL,
+	 &proc_dointvec },
 #endif /* CONFIG_NET */
 	{ 0 }
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)