lkml.org 
[lkml]   [1999]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
From
Subject[PATCH] 2.2 and 2.3 af_unix sysctl patch
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:2.017 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site