]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ionic: clear linkcheck bit on alloc fail
authorShannon Nelson <snelson@pensando.io>
Thu, 1 Oct 2020 16:22:41 +0000 (09:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 23:30:01 +0000 (16:30 -0700)
commit2c580d7783c78c115cea9e50b43477f3eab5076d
tree0d52dc6beeaf006b7f2f3e5c8866aab6c03710c3
parent52733cff9b6e9fc2868d10fb7171f690dcb8b5a7
ionic: clear linkcheck bit on alloc fail

Clear our link check requested flag on an allocation error.
We end up dropping this link check request, but that should
be fine as our watchdog will come back a few seconds later
and request it again.

Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
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