]> 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)
commitb5c1fcf0f89c75851be45cf38c0c31423f470950
treef0dbc5150b7467f15efce2dad5ba14c393e502b3
parent79ad6e1a2b25e41e2b015240b575866772bc69c3
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