]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit35570cfefd15d89ede00ce550e06acbcac3b3098
treef0dbc5150b7467f15efce2dad5ba14c393e502b3
parent91b86e3dd00862c6ed36691c849762949aaa833e
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