From: "David S. Miller" <davem@redhat.com>
To: go@turbolinux.co.jp
Cc: linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk,
sd@turbolinux.co.jp
Subject: Re: [PATCH] removed socket buffer in unix domain socket
Date: Fri, 11 Jan 2002 05:45:25 -0800 (PST) [thread overview]
Message-ID: <20020111.054525.107941129.davem@redhat.com> (raw)
In-Reply-To: <3C3EE76C.1030808@turbolinux.co.jp>
In-Reply-To: <E16NaD0-0001Hs-00@the-village.bc.nu> <3C3EE76C.1030808@turbolinux.co.jp>
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.
next prev parent reply other threads:[~2002-01-11 13:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-07 8:39 [PATCH] removed socket buffer in unix domain socket Yasuma Takeda
2002-01-07 9:11 ` Alexander Viro
2002-01-07 13:53 ` Alan Cox
2002-01-09 19:49 ` kuznet
2002-01-11 13:23 ` Go Taniguchi
2002-01-11 13:45 ` David S. Miller [this message]
2002-01-11 14:03 ` [sd:04032] " Go Taniguchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020111.054525.107941129.davem@redhat.com \
--to=davem@redhat.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=go@turbolinux.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=sd@turbolinux.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox