[PATCH] 2.2 and 2.3 af_unix sysctl patch

Paul Rusty Russell (Paul.Russell@linuxcare.com.au)
Fri, 17 Dec 1999 11:22:28 +1100


Obvious thinko on someone's part. /proc/sys/net/unix/max_dgram_qlen
is not in jiffies.

2.3 version:
--- linux-2.3/net/unix/sysctl_net_unix.c.~1~ Tue Nov 30 17:57:45 1999
+++ linux-2.3/net/unix/sysctl_net_unix.c Fri Dec 17 11:21:05 1999
@@ -22,7 +22,7 @@
ctl_table unix_table[] = {
{NET_UNIX_MAX_DGRAM_QLEN, "max_dgram_qlen",
&sysctl_unix_max_dgram_qlen, sizeof(int), 0600, NULL,
- &proc_dointvec_jiffies},
+ &proc_dointvec },
{0}
};

2.2 version:
--- linux-2.2/net/unix/sysctl_net_unix.c.~1~ Sun Dec 5 13:23:31 1999
+++ linux-2.2/net/unix/sysctl_net_unix.c Fri Dec 17 11:17:05 1999
@@ -30,7 +30,7 @@
&proc_dointvec_jiffies},
{NET_UNIX_MAX_DGRAM_QLEN, "max_dgram_qlen",
&sysctl_unix_max_dgram_qlen, sizeof(int), 0600, NULL,
- &proc_dointvec_jiffies},
+ &proc_dointvec},
{0}
};

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/