]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipath: fix spinlock recursion bug
authorBryan O'Sullivan <bos@pathscale.com>
Tue, 23 May 2006 18:32:29 +0000 (11:32 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 23 May 2006 20:27:06 +0000 (13:27 -0700)
commit59296d3c140f472d7c4a72f6808e93393d6d1eab
treec925e75212ff309bdfaf6dfef7cbe9defb00c7fc
parent73a92ffc323d520b02c4c03e9d700f89cba971b8
IB/ipath: fix spinlock recursion bug

The local loopback path for RC can lock the rkey table lock without
blocking interrupts.  The receive interrupt path can then call
ipath_rkey_ok() and deadlock.  Remove the redundant lock.

Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_keys.c