cxgb4: avoid enabling napi twice to the same queue

[ Upstream commit e7519f9926 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ganesh Goudar 2017-05-31 18:26:28 +05:30 • committed by Greg Kroah-Hartman
commit 61c92d5a53