linux/drivers/infiniband/hw
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
..
amso1100 [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
cxgb3 RDMA/cxgb3: Fail loopback connections 2008-02-13 07:47:42 -08:00
ehca IB/ehca: Add PMA support 2008-02-04 20:20:42 -08:00
ipath IB/ipath: Remove unnecessary cast 2008-01-25 14:17:46 -08:00
mlx4 IB/mlx4: mlx4_ib_fmr_alloc() should call mlx4_fmr_enable() 2008-02-14 10:39:36 -08:00
mthca IB/mthca: Free correct MPT on error exit from mthca_fmr_alloc() 2008-02-19 10:42:50 -08:00
nes RDMA/nes: Fix possible array overrun 2008-02-18 10:33:59 -08:00