]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qlcnic: Remove holding api lock while taking the dump
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Wed, 22 Jun 2011 02:52:18 +0000 (02:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2011 08:17:06 +0000 (01:17 -0700)
commit287e38aa1adee01f63bb28e270afd3f738a6ab8c
tree8fa64b88e4bfe860b134274133debc2abdfdc108
parent602ca6f00a0d95a0d0cec84f492324ee71d14e09
qlcnic: Remove holding api lock while taking the dump

With the change in logic for taking FW dump across multiple drivers,
there is no need to hold onto the api lock anymore in the fw dump path.
Instead use rtnl_lock() to synchronize the access to FW dump data structs.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ethtool.c
drivers/net/qlcnic/qlcnic_main.c