]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qlge: Protect reset recovery with rtnl_lock().
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 29 Sep 2009 08:39:24 +0000 (08:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Oct 2009 03:03:11 +0000 (20:03 -0700)
commitf2c0d8df05228b64dbb2d8d4b6e2089c98041ada
tree5a21c44e41d80c43795770ea11bd13afccfc6b17
parent06a49f7280091bd3dc27d4a4ceb17c68b8cda895
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>
drivers/net/qlge/qlge_main.c