commit | e15eec2805565c7e31dbe402215637012f1e4616 | [log] [tgz] |
---|---|---|
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | Tue Feb 02 04:16:21 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 03 19:15:24 2010 -0800 |
tree | 82ba2e31d52bf5e6ee5c0d56834fe23f6d5734d0 | |
parent | 41f3e0b1f524c47908e944a7e55f11c371ddddec [diff] |
netxen: protect resource cleanup by rtnl lock o context resources can be in used, while resource 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. Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>