]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: avoid enabling napi twice to the same queue
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 31 May 2017 12:56:28 +0000 (18:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 18:06:23 +0000 (14:06 -0400)
commit017e46fa9689f7102008997b6f2ca5e7e8651b16
tree0b9689526922b65c31b4e05ae16d4efab4bbac1f
parent9ed989b1dfad7565b8600c3e7e68114390717aa4
cxgb4: avoid enabling napi twice to the same queue

Take uld mutex to avoid race between cxgb_up() and
cxgb4_register_uld() to enable napi for the same uld
queue.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c