patch-2.1.43 linux/net/unix/sysctl_net_unix.c

Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/net/unix/sysctl_net_unix.c linux/net/unix/sysctl_net_unix.c
@@ -14,6 +14,15 @@
 #include <linux/mm.h>
 #include <linux/sysctl.h>
 
+extern int sysctl_unix_destroy_delay;
+extern int sysctl_unix_delete_delay;
+
 ctl_table unix_table[] = {
+	{NET_UNIX_DESTROY_DELAY, "destroy_delay",
+	&sysctl_unix_destroy_delay, sizeof(int), 0644, NULL, 
+	 &proc_dointvec_jiffies},
+	{NET_UNIX_DELETE_DELAY, "delete_delay",
+	&sysctl_unix_delete_delay, sizeof(int), 0644, NULL, 
+	 &proc_dointvec_jiffies},
 	{0}
 };

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