summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_bcm.c
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-10-29 11:51:16 +0100
committerMarkus Pargmann <mpa@pengutronix.de>2016-02-05 08:52:25 +0100
commit23272a6754b81ff6503e09c743bb4ceeeab39997 (patch)
treee60250087310c8e4da6476e888cdfad0961daa85 /drivers/bluetooth/hci_bcm.c
parent27ea43fe2a32f63bb6f442dafc2133232b8af4a6 (diff)
downloadlinux-23272a6754b81ff6503e09c743bb4ceeeab39997.tar.bz2
nbd: Remove signal usage
As discussed on the mailing list, the usage of signals for timeout handling has a lot of potential issues. The nbd driver used for some time signals for timeouts. These signals where able to get the threads out of the blocking socket operations. This patch removes all signal usage and uses a socket shutdown instead. The socket descriptor itself is cleared later when the whole nbd device is closed. The tasks_lock is removed as we do not depend on this anymore. Instead a new lock for the socket is introduced so we can safely work with the socket in the timeout handler outside of the two main threads. Cc: Oleg Nesterov <oleg@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/bluetooth/hci_bcm.c')
0 files changed, 0 insertions, 0 deletions