diff options
author | 2011-09-13 08:15:35 +0000 | |
---|---|---|
committer | 2011-09-13 08:15:35 +0000 | |
commit | ed8a7daefc1b9a0862775b38d251656fe2f3580c (patch) | |
tree | 57b8a551ffe911c778f4eff5ceec149c1ab45c47 /lib/libc/gen/getcap.3 | |
parent | Fix up alc_encap() / alc_start(): (diff) | |
download | wireguard-openbsd-ed8a7daefc1b9a0862775b38d251656fe2f3580c.tar.xz wireguard-openbsd-ed8a7daefc1b9a0862775b38d251656fe2f3580c.zip |
Fix up ale_encap() / ale_start():
- Remove unnecessary nsegs variable from ale_encap() and
use map->dm_nsegs. Also remove unnecessary FreeBSD check
for 0 DMA segments check.
- Remove printfs in ale_encap() failure paths that shouldn't
be there.
- Add missing IF_PREPEND() from failure path coming off of
ale_encap() within ale_start().
- Fix error handling within ale_encap(). Previously ale_encap()
was attempting to unload a DMA map upon failure from
bus_dmamap_load_mbuf() even though one wasn't loaded at that
point and then always forcing mbufs through the EFBIG path.
Tested by Johan Torin.
From Brad
Diffstat (limited to 'lib/libc/gen/getcap.3')
0 files changed, 0 insertions, 0 deletions