linux-stable-rt/drivers/infiniband/hw/mthca
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
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c
mthca_catas.c
mthca_cmd.c
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c
mthca_dev.h
mthca_doorbell.h
mthca_eq.c
mthca_mad.c
mthca_main.c
mthca_mcg.c
mthca_memfree.c IB/mthca: Fix allocation of ICM chunks in coherent memory 2007-02-16 13:57:33 -08:00
mthca_memfree.h
mthca_mr.c IB/mthca: Fix thinko in init_mr_table() 2007-03-26 15:59:32 -07:00
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c
mthca_provider.h
mthca_qp.c IB/mthca: Fix error path in mthca_alloc_memfree() 2007-03-01 13:17:14 -08:00
mthca_reset.c
mthca_srq.c
mthca_uar.c
mthca_user.h
mthca_wqe.h