summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2008-10-20 01:02:52 +0000
committerbrad <brad@openbsd.org>2008-10-20 01:02:52 +0000
commit06e6d0d4d7a3199854f1379bea765453578787d9 (patch)
tree9f2db62b2b0b04bc12e60241fdcf54e3328f7fb8 /lib/libc/stdlib/malloc.c
parentEnable the Gig master mode status display. (diff)
downloadwireguard-openbsd-06e6d0d4d7a3199854f1379bea765453578787d9.tar.xz
wireguard-openbsd-06e6d0d4d7a3199854f1379bea765453578787d9.zip
- Remove tmp variable sumflags in ti_rxeof() and just stick the csum
Ok flag into the header field, like every other driver. - Move the sanity checks in the packet encapsulation routines up above the for loop since the number of DMA segments is already known and there is no need to count the iterations through the loop. - If the encapsulation routine fails after calling bus_dmamap_load_mbuf() then make sure to unload the DMA map.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions