]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Bluetooth: Fix context in RFCOMM tty
authorGustavo F. Padovan <padovan@profusion.mobi>
Tue, 27 Dec 2011 17:28:45 +0000 (15:28 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 3 Jan 2012 00:19:29 +0000 (22:19 -0200)
commit393432cd8dc02b88a00decd495913643aa5ff705
tree2c59666496a3c669781bbc8bb5f94854a1b6f944
parent95ca83f42fb5f5bf789b514635f79242afe555d1
Bluetooth: Fix context in RFCOMM tty

We now run in process context, no need to disable interrupts.
Calls from the tty layer also run in process context.

rw_lock was converted to spinlock, we have more writers than readers in
this case.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/rfcomm/tty.c