linux/drivers/infiniband/hw
Michael S. Tsirkin 0264d88531 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>
2007-03-26 15:59:32 -07:00
..
amso1100 [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
cxgb3 RDMA/cxgb3: Fix resource leak in cxio_hal_init_ctrl_qp() 2007-03-26 15:54:40 -07:00
ehca IB/ehca: Make scaling code work without CPU hotplug 2007-03-22 14:40:16 -07:00
ipath IB/ipath: Check return value of lookup_one_len 2007-03-22 14:40:15 -07:00
mthca IB/mthca: Fix thinko in init_mr_table() 2007-03-26 15:59:32 -07:00