kern/78824: race condition close()ing and read()ing the same socketpair on SMP.

Marc Olzheim marcolz at stack.nl
Fri May 27 07:58:01 PDT 2005


On Fri, May 27, 2005 at 03:44:41PM +0200, Marc Olzheim wrote:
> Could you try the attached patch and see if it helps matters?  This is
> a slight shot in the dark but closes at least two races in the
> transition of socket state with respect to socket buffer state.

Yes! This fixes it, on the tag=RELENG_5 date=2005.03.03.00.00.00 kernel.

I'll try and see if it works on a recent RELENG_5 kernel as well, later.

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050527/d8e4aa33/attachment.bin


More information about the freebsd-stable mailing list