commit | 94382f3562e350ed7c8f7dcd6fc968bdece31328 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Thu Nov 10 10:18:23 2005 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Thu Nov 10 10:22:51 2005 -0800 |
tree | cf4cb4d1d1dc79326f68511addc1391d7d81e0ce | |
parent | ae57e24a4006fd46b73d842ee99db9580ef74a02 [diff] |
[IB] umad: further ib_unregister_mad_agent() deadlock fixes The previous umad deadlock fix left ib_umad_kill_port() still vulnerable to deadlocking. This patch fixes that by downgrading our lock to a read lock when we might end up trying to reacquire the lock for reading. Signed-off-by: Roland Dreier <rolandd@cisco.com>