diff options
author | 2008-04-24 11:36:38 +0000 | |
---|---|---|
committer | 2008-04-24 11:36:38 +0000 | |
commit | c8af8aa8c6aa2959c8b13a74959a094f9ca50a5a (patch) | |
tree | 43db592e57a2f9f9b8ee4ed0485d905daa351532 /sys/dev | |
parent | some ciss(4) firmwares use different physical drive addressing, resulting (diff) | |
download | wireguard-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