]> err.no Git - linux-2.6/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)
commitebac3800e5652063aa9491ef7fb4d57e089eb385
treec925e75212ff309bdfaf6dfef7cbe9defb00c7fc
parent1faadface9c5d000bb16e42c89f24859337cf2db
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