aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_ctx.c
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-02-01 05:24:57 +0000
committerDavid S. Miller <davem@davemloft.net>2010-02-02 15:55:45 -0800
commitce6684433fb277406dd861fd8a17133253e7c367 (patch)
treed3734121875c91d01d37e448da2d1c34ba7c274a /drivers/net/qlcnic/qlcnic_ctx.c
parentqlcnic: clear device reset state after fw recovery (diff)
downloadlinux-dev-ce6684433fb277406dd861fd8a17133253e7c367.tar.xz
linux-dev-ce6684433fb277406dd861fd8a17133253e7c367.zip
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>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_ctx.c')
0 files changed, 0 insertions, 0 deletions