* /proc/sys/net/unix
@ 2001-01-05 21:09 James Stevenson
2001-01-05 22:16 ` /proc/sys/net/unix Russell King
0 siblings, 1 reply; 2+ messages in thread
From: James Stevenson @ 2001-01-05 21:09 UTC (permalink / raw)
To: linux-kernel
Hi
should there be 2 files in that diretory with the same name ?
mistral@sx:/proc/sys/net/unix$ ls -la
total 0
dr-xr-xr-x 2 root root 0 Jan 5 21:09 ./
dr-xr-xr-x 8 root root 0 Jan 5 21:09 ../
-rw------- 1 root root 0 Jan 5 21:09 max_dgram_qlen
-rw------- 1 root root 0 Jan 5 21:09 max_dgram_qlen
mistral@sx:/proc/sys/net/unix$
thats under 2.4.0
--
---------------------------------------------
Check Out: http://stev.org
E-Mail: mistral@stev.org
9:00pm up 20 days, 8:04, 3 users, load average: 0.35, 0.19, 0.08
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /proc/sys/net/unix
2001-01-05 21:09 /proc/sys/net/unix James Stevenson
@ 2001-01-05 22:16 ` Russell King
0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2001-01-05 22:16 UTC (permalink / raw)
To: James Stevenson; +Cc: linux-kernel
James Stevenson writes:
> should there be 2 files in that diretory with the same name ?
No.
> mistral@sx:/proc/sys/net/unix$ ls -la
> total 0
> dr-xr-xr-x 2 root root 0 Jan 5 21:09 ./
> dr-xr-xr-x 8 root root 0 Jan 5 21:09 ../
> -rw------- 1 root root 0 Jan 5 21:09 max_dgram_qlen
> -rw------- 1 root root 0 Jan 5 21:09 max_dgram_qlen
> mistral@sx:/proc/sys/net/unix$
>
> thats under 2.4.0
Both net/sysctl_net.c and net/unix/sysctl_net_unix.c register the
unix_table[] structure which contains the "max_dgram_qlen" file.
It should only be registered once.
Since Unix sockets can be modular, I'm guessing that the one in
net/sysctl_net.c is wrong. The easy way to get rid of it is to
remove the code between #ifdef CONFIG_UNIX and #endif in that file.
However, I leave it up to DaveM to supply the official patch since
this may not be his preferred method of fixing the problem.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-05 22:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-05 21:09 /proc/sys/net/unix James Stevenson
2001-01-05 22:16 ` /proc/sys/net/unix Russell King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®