mirror of
https://github.com/opnsense/src.git
synced 2026-03-26 20:53:08 -04:00
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) |
||
|---|---|---|
| .. | ||
| colldef | ||
| dict | ||
| doc | ||
| examples | ||
| info | ||
| man | ||
| me | ||
| misc | ||
| mk | ||
| mklocale | ||
| monetdef | ||
| msgdef | ||
| numericdef | ||
| security | ||
| sendmail | ||
| skel | ||
| snmp | ||
| syscons | ||
| tabset | ||
| termcap | ||
| timedef | ||
| zoneinfo | ||
| Makefile | ||
| Makefile.inc | ||