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-04-08 19:20:49 +00:00
2007-05-13 21:13:11 +00:00
2006-03-13 03:04:00 +00:00
2007-06-18 22:45:41 +00:00
2007-06-26 01:11:03 +00:00
2007-01-27 07:07:32 +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-03-15 00:11:56 +00:00
2006-11-22 17:18:05 +00:00
2007-06-29 00:35:37 +00:00
2007-06-11 17:04:10 +00:00
2006-09-04 15:17:50 +00:00
2006-01-27 21:50:11 +00:00
2006-08-11 19:41:51 +00:00
2006-08-11 19:41:51 +00:00
2005-10-09 03:21:56 +00:00
2007-06-11 10:53:48 +00:00
MFC
2007-03-09 13:54:26 +00:00
2007-05-21 11:55:02 +00:00
2006-08-03 12:50:21 +00:00
2006-01-27 18:22:11 +00:00
2007-06-11 10:53:48 +00:00
2007-04-28 20:44:56 +00:00
2006-11-17 00:32:53 +00:00