John Baldwin 18fb1e9a44 MFC 196417:
This patch fixes two bugs in sglist(9) and improves robustness of the API via
better semantics if a request to append an address range to an existing list
fails.
- When cloning an sglist, properly set the length in the new sglist instead of
  leaving the new list empty.
- Properly compute the amount of data added to an sglist via
  _sglist_append_buf().  This allows sglist_consume_uio() to properly update
  uio_resid.
- When a request to append an address range to a scatter/gather list fails,
  restore the sglist to the state it had at the start of the function call
  instead of resetting it to an empty list.

Approved by:	re (kib)
2009-08-21 03:14:39 +00:00
..
2009-08-20 23:04:21 +00:00
2009-08-15 15:18:29 +00:00
2009-08-17 15:39:47 +00:00
2009-08-20 00:08:58 +00:00
2009-08-14 22:55:54 +00:00
2009-08-19 00:17:00 +00:00
2009-08-21 01:12:06 +00:00
2009-08-17 18:11:50 +00:00
2009-08-17 16:24:50 +00:00
2009-06-25 16:48:13 +00:00
2009-08-20 23:04:21 +00:00
2009-08-16 02:12:13 +00:00
2009-08-21 03:14:39 +00:00
2009-08-13 17:54:11 +00:00
2009-08-17 09:03:47 +00:00
2009-08-20 21:14:52 +00:00
2009-08-17 13:00:32 +00:00
2009-08-12 20:48:50 +00:00
2009-08-14 11:17:34 +00:00
2009-05-23 13:23:46 +00:00
2009-08-13 17:54:11 +00:00
2009-08-13 17:54:11 +00:00
2009-08-13 17:54:11 +00:00
2009-08-20 20:53:36 +00:00
2009-08-14 11:22:09 +00:00
2009-08-12 20:30:27 +00:00