[PATCH] IB: Fix FMR pool crash
authorRoland Dreier <roland@topspin.com>
Sat, 16 Apr 2005 22:26:10 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:10 +0000 (15:26 -0700)
commitde0d9641c4f164009b62ecc342f9776d44e78b6a
tree28c21b7b7628861a735473ae7c8bf0baf588ab8f
parentdfe7cc7e816224b002f6887b2a82cba677f27344
[PATCH] IB: Fix FMR pool crash

Mask bits correctly from jhash result in ib_fmr_hash() so that the
computed bucket index is within our hash table.  This fixes an SDP
crash.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/fmr_pool.c