]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Flush mailbox command list when mailbox is not available
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 15 Aug 2013 12:27:26 +0000 (08:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 21:46:18 +0000 (14:46 -0700)
commit966d9db503026b275db0a2e5d480d175f33af64e
treef0dbc5150b7467f15efce2dad5ba14c393e502b3
parentc9d4ebf54d248f5a0ba01b1dc07885c3999f9312
qlcnic: Flush mailbox command list when mailbox is not available

o Driver was hitting a panic at the time of adapter reset due to invalid command
  access from the list which had been already freed by the queuing thread.
  Flush all the pending commands from the list before proceeding with adapter reset

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c