summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2008-04-24 11:36:38 +0000
committerdlg <dlg@openbsd.org>2008-04-24 11:36:38 +0000
commitc8af8aa8c6aa2959c8b13a74959a094f9ca50a5a (patch)
tree43db592e57a2f9f9b8ee4ed0485d905daa351532 /sys/dev
parentsome ciss(4) firmwares use different physical drive addressing, resulting (diff)
downloadwireguard-openbsd-c8af8aa8c6aa2959c8b13a74959a094f9ca50a5a.tar.xz
wireguard-openbsd-c8af8aa8c6aa2959c8b13a74959a094f9ca50a5a.zip
the softnet intr handlers check if the input queue has packets on
it by reading the queues head pointer. if that pointer is not null then it takes splnet and dequeues a packet for handling. this is bad because the ifqueue head is modified at splnet and the sofnet handlers read it without holding splnet. this removes that check of the head pointer and simply checks if the dequeue gave us a packet or not before proceeding. found while reading mpls code. discussed with norby@ and henning@ ok mcbride@ henning@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions