]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ionic: start watchdog after all is setup
authorShannon Nelson <snelson@pensando.io>
Mon, 24 Jan 2022 18:52:58 +0000 (10:52 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:57 +0000 (13:57 +0200)
commit6d78cf636ee46088e30954dfb784a6882e14d7ce
treecf378ee466638f2990f4f6f52b0858e13aafe314
parentf81cc470cca8884338512f6c26fd3a242d8e54f7
ionic: start watchdog after all is setup

[ Upstream commit 9ad2939a1525962a79a2fd974ec7e3a71455b964 ]

The watchdog expects the lif to fully exist when it goes off,
so lets not start the watchdog until all is ready in case there
is some quirky time dialation that makes probe take multiple
seconds.

Fixes: 089406bc5ad6 ("ionic: add a watchdog timer to monitor heartbeat")
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_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_dev.c