rwatson 0166bdd415 Fix a bug in sblock() that has existed since revision 1.1 from BSD:
correctly return an error if M_NOWAIT is passed to sblock() and the
operation might block.  This remarkably subtle macro bug appears to
be responsible for quite a few undiagnosed socket buffer corruption
and mbuf-related kernel panics.

This bug has already been fixed in 7-CURRENT as part of the move to
using sx(9) locks to serialize simultaneous socket I/O, but is an
MFC candidate for all earlier FreeBSD -STABLE branches.

MFC after:	2 weeks
Found by:	Isilon
Submitted by:	jeff
Tested by:	jhb, Yahoo!
2007-07-03 10:14:13 +00:00
..
2007-05-13 21:13:11 +00:00
2007-06-18 22:45:41 +00:00
2007-06-26 01:11:03 +00:00
2007-06-21 20:58:44 +00:00
2007-06-26 06:59:24 +00:00
2007-06-11 10:53:48 +00:00
2007-06-29 00:35:37 +00:00
2007-06-11 17:04:10 +00:00
2007-06-11 10:53:48 +00:00
2007-05-21 11:55:02 +00:00
2007-06-11 10:53:48 +00:00
2007-04-28 20:44:56 +00:00