diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2008-01-17 17:51:00 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2008-01-17 17:51:00 +0000 |
commit | e6ab9cc9eef66bc301f32d55affe9c57453fa820 (patch) | |
tree | a24f8ca1b32af78b7515371adb6412259ea7dcbb /lib/libkvm/kvm_sh.c | |
parent | c097341ea05ed19f678854416d3ac3520b26fcbc (diff) |
In ether_input() scheduling the soft interrupt and queueing the
packet have to be protected by the same splnet. Otherwise on
architectures where soft interrupts are executed immediately, the
interrupt is processed before the packet is in the queue.
On real hardware interfaces this was not a problem as ether_input()
is called at splnet anyway. But when sending to a tun interface
the packet got delayed.
ok beck@ miod@ henning@ mpf@ markus@
Diffstat (limited to 'lib/libkvm/kvm_sh.c')
0 files changed, 0 insertions, 0 deletions