summaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-03-25 09:17:43 (GMT)
committerRoland Dreier <rolandd@cisco.com>2007-03-26 22:59:32 (GMT)
commit0264d8853137a9a328d9f0ed29e083dd505512cb (patch)
tree3ead2da8617188048829402650d6a36772658afe /drivers/infiniband/ulp
parented6ee5178e6d78ba7f79a5ece3f0b70ece531a6a (diff)
downloadlinux-0264d8853137a9a328d9f0ed29e083dd505512cb.tar.xz
IB/mthca: Fix thinko in init_mr_table()
Commit c20e20ab ("IB/mthca: Merge MR and FMR space on 64-bit systems") swapped the number of MTTs and MPTs when initializing the MR table. As a result, we get a kernel oops when the number of MTT segments allocated exceeds 0x20000. Noted by Troy Benjegerdes <troy@scl.ameslab.gov>, and reproduced by Dotan Barak <dotanb@mellanox.co.il>. This fixes https://bugs.openfabrics.org/show_bug.cgi?id=490 Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions