Home
last modified time | relevance | path

Searched hist:eb5a1e8f38a4cf29a77ac42812356460d5e8cf78 (Results 1 – 2 of 2) sorted by relevance

/freebsd/share/man/man9/
H A Dsglist.9diff eb5a1e8f38a4cf29a77ac42812356460d5e8cf78 Fri Aug 21 04:59:07 CEST 2009 John Baldwin <jhb@FreeBSD.org> 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.

Requested by: np (3)
Approved by: re (kib)
diff eb5a1e8f38a4cf29a77ac42812356460d5e8cf78 Fri Aug 21 04:59:07 CEST 2009 John Baldwin <jhb@FreeBSD.org> 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.

Requested by: np (3)
Approved by: re (kib)
/freebsd/sys/kern/
H A Dsubr_sglist.cdiff eb5a1e8f38a4cf29a77ac42812356460d5e8cf78 Fri Aug 21 04:59:07 CEST 2009 John Baldwin <jhb@FreeBSD.org> 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.

Requested by: np (3)
Approved by: re (kib)
diff eb5a1e8f38a4cf29a77ac42812356460d5e8cf78 Fri Aug 21 04:59:07 CEST 2009 John Baldwin <jhb@FreeBSD.org> 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.

Requested by: np (3)
Approved by: re (kib)