commit | 4d7b6b5d247aa71ea27709b9eac1ba6e752fbe87 | [log] [tgz] |
---|---|---|
author | Ron Mercer <ron.mercer@qlogic.com> | Sat Dec 11 11:06:50 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 12 15:02:57 2010 -0800 |
tree | 0af7a055a47899bd8a6475e182628b5fb1daa5b2 | |
parent | 36eac2130cdbac08606bb2c05775e52ab79b163c [diff] |
qlge: Fix deadlock when cancelling worker. Removing usage of rtnl_lock() to protect firmware interface registers. These registers are accessed in some worker threads and can create a deadlock if rtnl_lock is taken by upper layers while the worker is still pending. We remove rtnl_lock and use a driver mutex just while mailboxes are accessed. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>