ionic: widen queue_lock use around lif init and deinit
authorShannon Nelson <snelson@pensando.io>
Fri, 1 Oct 2021 18:05:54 +0000 (11:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Oct 2021 13:00:21 +0000 (14:00 +0100)
commit2624d95972dbebe5f226361bfc51a83bdb68c93b
treecfb0fd169c2ae1c985a34a05770f04298653a4ef
parent26671ff92c632e9c2fe25c3438887493c4123ad1
ionic: widen queue_lock use around lif init and deinit

Widen the coverage of the queue_lock to be sure the lif init
and lif deinit actions are protected.  This addresses a hang
seen when a Tx Timeout action was attempted at the same time
as a FW Reset was started.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c