linux/drivers/net/caif
Konstantin Khlebnikov 56e0ef527b drivers/net: caif: fix wrong rtnl_is_locked() usage
rtnl_is_locked() doesn't check who holds this lock, it just tells that it's
locked right now. if caif::ldisc_close really can be called under rtrnl_lock
then it should release net device in other context because there is no way
to grab rtnl_lock without deadlock.

This patch adds work which releases these devices. Also this patch fixes calling
dev_close/unregister_netdevice without rtnl_lock from caif_ser_exit().

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-07-09 12:55:48 -07:00
..
caif_hsi.c caif: Update Dmitry's email address. 2013-04-23 13:25:51 -04:00
caif_serial.c drivers/net: caif: fix wrong rtnl_is_locked() usage 2013-07-09 12:55:48 -07:00
caif_spi_slave.c caif: Remove bouncing address for Daniel Martensson 2013-04-23 13:25:51 -04:00
caif_spi.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-30 03:55:20 -04:00
caif_virtio.c caif_virtio: Remove bouncing email addresses 2013-05-01 11:59:15 +09:30
Kconfig caif: CAIF_VIRTIO should depend on HAS_DMA 2013-05-11 16:28:24 -07:00
Makefile Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00