Re: [PATCH] removed socket buffer in unix domain socket

David S. Miller (davem@redhat.com)
Fri, 11 Jan 2002 05:45:25 -0800 (PST)


From: Go Taniguchi <go@turbolinux.co.jp>
Date: Fri, 11 Jan 2002 22:23:56 +0900

What size of actually used hash table --unix_socket_table--?
If it is 256, probably forall_unix_sockets is dangerous.

forall_unix_sockets use 257 table size.
And If I apply this fix, test program can work.

Slot 256 is a special slot fo unbound sockets. The table is
sized to UNIX_HASH_SIZE + 1, so it is ok and your patch is
not right.

Please see the other email from Alexey Kuznetsov which includes
a real fix for your bug.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/