linux-stable-rt/drivers/infiniband/hw/mthca
Roland Dreier b7f9c112a5 IB/mthca: Free correct MPT on error exit from mthca_fmr_alloc()
When mthca_fmr_alloc() returns an error, it should free the MPT at the
index key, not mr->ibmr.lkey, since the lkey has been mangled by
hw_index_to_key() and no longer is the real index.  This bug causes
corruption of the MPT table free bitmap when mthca_fmr_alloc() fails.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-02-19 10:42:50 -08:00
..
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile
mthca_allocator.c IB/mthca: Replace memset(<addr>, 0, PAGE_SIZE) with clear_page(<addr>) 2007-07-10 12:28:05 -07:00
mthca_av.c
mthca_catas.c
mthca_cmd.c IB/mthca: Don't read reserved fields in mthca_QUERY_ADAPTER() 2008-02-04 20:20:43 -08:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c IB/mthca: Convert to use be16_add_cpu() 2008-02-13 07:47:47 -08:00
mthca_dev.h IB/mthca: Remove MSI support as scheduled 2008-01-25 14:15:33 -08:00
mthca_doorbell.h IB/mthca: Avoid alignment traps when writing doorbells 2007-10-15 20:17:27 -07:00
mthca_eq.c IB/mthca: Remove MSI support as scheduled 2008-01-25 14:15:33 -08:00
mthca_mad.c
mthca_main.c IB: Avoid marking __devinitdata as const 2008-02-04 20:20:44 -08:00
mthca_mcg.c
mthca_memfree.c IB/mthca: Add missing sg_init_table() in mthca_map_user_db() 2008-02-12 14:38:22 -08:00
mthca_memfree.h
mthca_mr.c IB/mthca: Free correct MPT on error exit from mthca_fmr_alloc() 2008-02-19 10:42:50 -08:00
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c IB/mthca: Don't read reserved fields in mthca_QUERY_ADAPTER() 2008-02-04 20:20:43 -08:00
mthca_provider.h
mthca_qp.c IB/ib_mthca: Pre-link receive WQEs in Tavor mode 2008-02-04 20:20:44 -08:00
mthca_reset.c
mthca_srq.c IB/ib_mthca: Pre-link receive WQEs in Tavor mode 2008-02-04 20:20:44 -08:00
mthca_uar.c
mthca_user.h
mthca_wqe.h IB/mthca: Factor out setting WQE data segment entries 2007-07-18 11:30:34 -07:00