diff options
author | 2009-09-29 08:39:24 +0000 | |
---|---|---|
committer | 2009-09-30 20:03:11 -0700 | |
commit | f2c0d8df05228b64dbb2d8d4b6e2089c98041ada (patch) | |
tree | 5a21c44e41d80c43795770ea11bd13afccfc6b17 /lib/debugobjects.c | |
parent | qlge: Fix spin_lock warning. (diff) | |
download | wireguard-linux-f2c0d8df05228b64dbb2d8d4b6e2089c98041ada.tar.xz wireguard-linux-f2c0d8df05228b64dbb2d8d4b6e2089c98041ada.zip |
qlge: Protect reset recovery with rtnl_lock().
Move the call to rtnl_lock() to before the internal call to
ql_adapter_down()/ql_adapter_up(). This prevents collisions that can
happen when recovering from an asic error.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions