]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: fix bug that might cause hang after consecutive open/close interface.
authorNetanel Belgazal <netanel@amazon.com>
Sun, 11 Jun 2017 12:42:44 +0000 (15:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jun 2017 20:36:46 +0000 (16:36 -0400)
commit9d803f6681d7fc20db2c8a1ee5d17e3eef9ff16c
tree4fbda3df2b1954e60795c0dd793dcc6dedcd4789
parent038f8c40cb91c93349baf09b2d204fa26e8bc7b7
net: ena: fix bug that might cause hang after consecutive open/close interface.

Fixing a bug that the driver does not unmask the IO interrupts
in ndo_open():
occasionally, the MSI-X interrupt (for one or more IO queues)
can be masked when ndo_close() was called.
If that is followed by ndo open(),
then the MSI-X will be still masked so no interrupt
will be received by the driver.

Fixes: e59074db59c6 ("Add a driver for Amazon Elastic Network Adapters (ENA)")
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