summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getcap.3
diff options
context:
space:
mode:
authorkevlo <kevlo@openbsd.org>2011-09-13 08:12:51 +0000
committerkevlo <kevlo@openbsd.org>2011-09-13 08:12:51 +0000
commit4e9a82c5961b89be62f89d68cc3654bfbb991943 (patch)
tree324409141bb0089d9384c53e8ca573c6efbd302f /lib/libc/gen/getcap.3
parentDo not invoke hardclock() until cpu_initclocks() has been invoked; avoids (diff)
downloadwireguard-openbsd-4e9a82c5961b89be62f89d68cc3654bfbb991943.tar.xz
wireguard-openbsd-4e9a82c5961b89be62f89d68cc3654bfbb991943.zip
Fix up alc_encap() / alc_start():
- Remove unnecessary nsegs variable from alc_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in alc_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of alc_encap() within alc_start(). - Fix error handling within alc_encap(). Previously alc_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 Gabriel Linder. From Brad
Diffstat (limited to 'lib/libc/gen/getcap.3')
0 files changed, 0 insertions, 0 deletions