commit | ce6684433fb277406dd861fd8a17133253e7c367 | [log] [tgz] |
---|---|---|
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | Mon Feb 01 05:24:57 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 02 15:55:45 2010 -0800 |
tree | d3734121875c91d01d37e448da2d1c34ba7c274a | |
parent | 1b95a839587f40abab2f9cb3e5254dc821b9829b [diff] |
qlcnic: protect resoruce cleanup by rtnl lock o context resources can be in used, while resoruce cleanup is in progress, during fw recover. o Null pointer execption can occur in send_cmd_desc, if fw recovery module frees tx ring without rtnl lock. o Same applies to ethtool register dump and FW health registers should be dump in any case. Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>