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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2022 15:16:45 +0000 (17:16 +0200)
commit8d2761dbfcb9e4ae801c9c3431b33280438c4072
treed058736d2be05e895b4e9d092f7e4d6fc3b3c632
parent2bc769b8edb158be7379d15f36e23d66cf850053
ionic: widen queue_lock use around lif init and deinit

[ Upstream commit 2624d95972dbebe5f226361bfc51a83bdb68c93b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c