diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-04-20 12:43:15 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-26 01:19:11 +0400 |
commit | 0ad7c9af3e1cbb97082062266705d6cb5fb207ee (patch) | |
tree | 7934df8bfa67d18d21e9d9ee7f9efc6a431854a6 /crypto/fcrypt.c | |
parent | 7fdc28931176a17ef0bdc5d35742925a155533c4 (diff) | |
download | linux-0ad7c9af3e1cbb97082062266705d6cb5fb207ee.tar.xz |
Char: moxa, fix locking in moxa_write
moxa_write can be called from atomic context with irqs disabled (from
ppp_async_push). Don't enable interrupts by spin_unlock_bh as this
might cause deadlocks in the ppp layer.
Instead, use irqsave/irqrestore spin_lock functions.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions