diff options
| author | 2010-02-08 10:12:40 +0000 | |
|---|---|---|
| committer | 2010-02-16 16:01:34 -0800 | |
| commit | dfbb84ffe94e75e2d56250fa948db40f6c62093f (patch) | |
| tree | 97661005c3f9e79fe19bd9bcabfc7ef6ef71739f /kernel/trace/trace_stack.c | |
| parent | CAPI: Drop capiminor's unused inbytes counter (diff) | |
| download | wireguard-linux-dfbb84ffe94e75e2d56250fa948db40f6c62093f.tar.xz wireguard-linux-dfbb84ffe94e75e2d56250fa948db40f6c62093f.zip | |
CAPI: Fix locking around capiminor's output queue and drop workaround_lock
Introduce outlock as a spin lock that protects capiminor's outqueue,
outbytes and outskb (formerly known as ttyskb). outlock can be acquired
from soft-IRQ context via capinc_write, so make it bh-safe.
This finally removes the last reason for keeping the workaround lock
around (which was incomplete and partly broken anyway). And as we no
longer call handle_recv_skb in atomic context, gen_data_b3_resp_for can
use non-atomic allocation now.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions
