cxgb4i: avoid holding mutex in interrupt context
authorAnish Bhatt <anish@chelsio.com>
Tue, 16 Sep 2014 00:44:18 +0000 (17:44 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 22 Sep 2014 14:46:13 +0000 (16:46 +0200)
commit576b586303f76be9e5e2f5266ccbeba1b46bbd06
tree68263bc156d67ba02b00cba60bc91ff0aacd2a8b
parent6c1e7b7729b19eb41d93a411c82126a5993a8e90
cxgb4i: avoid holding mutex in interrupt context

cxgbi_inet6addr_handler() can be called in interrupt context, so use rcu
protected list while finding netdev

Applies on top of core-for-3.18

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Karen Xie <kxie@chelsio.com>
Fixes: fc8d0590d914 ("libcxgbi: Add ipv6 api to driver")
Fixes: 759a0cc5a3e1 ("cxgb4i: Add ipv6 code to driver, call into libcxgbi ipv6
api")
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/cxgbi/libcxgbi.h