rwatson 2d03779951 Various cleanups for soreceive_dgram():
- Update or remove comments that were left over from the original
  soreceive_generic() implementation.  Quite a few were misleading in the
  context of the new code.
- Since soreceive_dgram() has a simpler structure, replace several gotos
  with a while loop making the invariants more clear.
- In the blocking while loop, don't try to handle cases incompatible with
  the loop invariant (since m is always NULL, don't check for and handle
  non-NULL).
- Don't drop and re-acquire the socket buffer lock unnecessarily after
  sbwait() returns, which may help reduce lock contention (etc).
- Assume PR_ATOMIC since we assert it at the top of the function.

MFC after:	3 days
2008-10-01 13:26:52 +00:00
..
2008-09-25 20:08:36 +00:00
2008-09-23 14:25:56 +00:00
2008-08-03 21:07:19 +00:00
2008-08-28 23:52:34 +00:00
2008-09-22 10:37:02 +00:00
2008-09-16 14:57:23 +00:00
2008-05-12 06:42:06 +00:00
2008-04-29 05:48:05 +00:00
2008-05-23 04:06:49 +00:00
2007-12-14 21:30:51 +00:00
2008-07-27 21:45:20 +00:00
2008-07-13 17:15:05 +00:00
2008-07-18 07:10:33 +00:00
2008-09-25 20:08:36 +00:00
2008-09-25 20:08:36 +00:00