]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: ena: fix error handling in ena_down() sequence
authorNetanel Belgazal <netanel@amazon.com>
Wed, 3 Jan 2018 06:17:30 +0000 (06:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jan 2018 17:21:00 +0000 (12:21 -0500)
commitee4552aaf3fef5345199b8a82e40be7245b289fb
tree987e3da986b0d102099091641b719fafb1ee7a59
parent7853b49ce8e0ef6364d24512b287463841d71bd3
net: ena: fix error handling in ena_down() sequence

ENA admin command queue errors are not handled as part of ena_down().
As a result, in case of error admin queue transitions to non-running
state and aborts all subsequent commands including those coming from
ena_up(). Reset scheduled by the driver from the timer service
context would not proceed due to sharing rtnl with ena_up()/ena_down()

Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c