]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit191c0aa56203afca91b79ed56defc6fb0a003ae5
treefe11ccf1fb96309bc592e4e7a1420f30aa18938d
parent7e0b4b7009a8b13324c03d3ce43144adab4fab2d
[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