summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2009-06-19 14:13:41 +0000
committernaddy <naddy@openbsd.org>2009-06-19 14:13:41 +0000
commitab6f0d8f901a2fb1fc594df2da70e7c97fe882df (patch)
tree79e9ec72b9a57787454be60441cc5338d34958c2 /sys/dev/pci/if_bge.c
parentafter long discussion with many... (diff)
downloadwireguard-openbsd-ab6f0d8f901a2fb1fc594df2da70e7c97fe882df.tar.xz
wireguard-openbsd-ab6f0d8f901a2fb1fc594df2da70e7c97fe882df.zip
Tidy up allocation of transmit DMA maps and generalize it to also
tidy up allocation of receive DMA maps. Previously the driver was using DMA maps off the free list without fully allocating them, in order to save two or three lines releasing them on error paths. This was causing it to reuse a map already in use when under load. From NetBSD. Revert a workaround against a NULL pointer dereference on alpha when invoking bus_dmaamp_sync. All submitted by Brad.
Diffstat (limited to 'sys/dev/pci/if_bge.c')
0 files changed, 0 insertions, 0 deletions