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-17 03:56:22 +00:00
2007-06-29 21:05:28 +00:00
2007-04-08 19:20:49 +00:00
2007-05-13 21:13:11 +00:00
2006-09-29 22:43:30 +00:00
2007-05-25 20:14:02 +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-05-13 09:33:36 +00:00
2006-10-16 09:00:30 +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
2007-01-19 23:01:34 +00:00
2007-06-29 21:05:28 +00:00
2007-06-18 22:44:59 +00:00
2006-08-22 16:52:42 +00:00
2007-03-11 20:19:45 +00:00
2007-06-25 23:58:46 +00:00
2006-11-22 17:18:05 +00:00
2007-06-28 21:23:56 +00:00
2007-06-29 00:35:37 +00:00
2007-03-31 22:49:55 +00:00
2006-06-11 17:02:10 +00:00
2006-02-13 23:54:48 +00:00
2007-06-10 07:41:25 +00:00
2007-06-12 19:21:54 +00:00
2007-06-11 17:04:10 +00:00
2006-09-04 15:17:50 +00:00
2006-06-08 23:36:39 +00:00
2006-01-27 21:50:11 +00:00
2005-11-16 10:31:23 +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
2007-06-28 03:28:28 +00:00
2007-03-09 13:54:26 +00:00
2006-09-04 15:16:14 +00:00
2007-05-21 11:55:02 +00:00
2005-10-06 16:34:27 +00:00
2007-05-23 00:25:18 +00:00
2006-08-03 12:50:21 +00:00
2007-05-01 18:07:28 +00:00
2006-01-27 18:22:11 +00:00
2007-01-20 02:24:06 +00:00
2007-05-01 13:31:33 +00:00
2007-07-03 10:14:13 +00:00
2007-02-22 19:10:48 +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