diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 10:12:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 16:01:34 -0800 |
commit | dfbb84ffe94e75e2d56250fa948db40f6c62093f (patch) | |
tree | 97661005c3f9e79fe19bd9bcabfc7ef6ef71739f /drivers/isdn/capi/capifs.c | |
parent | 68d7347b280b4c1f8253c0676a520fb754f213c7 (diff) |
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 'drivers/isdn/capi/capifs.c')
0 files changed, 0 insertions, 0 deletions