dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/infiniband/hw/mlx4
Roland Dreier 4af3ce0de0 IB/mlx4: Fix shutdown crash accessing a non-existent bitmap
Commit cfcde11c3d ("IB/mlx4: Use flow counters on IBoE ports") added
code that sets elements of counters[] to -1 if no counter is allocated,
but then goes ahead and passes every entry to mlx4_counter_free() on
shutdown.  This is a bad idea, especially if MLX4_DEV_CAP_FLAG_COUNTERS
isn't set so there isn't even an underlying bitmap to free from.

Tested-by: Sean Hefty <sean.hefty@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2011-12-06 10:47:37 -08:00
..
Kconfig mlx4: Fix infiniband Kconfig dependencies. 2011-08-11 23:05:05 -07:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
ah.c IB/mlx4: Add VLAN support for IBoE 2010-10-25 10:20:39 -07:00
cq.c IB/mlx4: Don't call dma_free_coherent() with irqs disabled 2011-01-10 17:42:06 -08:00
doorbell.c IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
mad.c IB/mlx4: Support PMA counters for IBoE 2011-07-18 21:04:36 -07:00
main.c IB/mlx4: Fix shutdown crash accessing a non-existent bitmap 2011-12-06 10:47:37 -08:00
mlx4_ib.h IB/mlx4: Add support for XRC QPs 2011-10-13 09:44:18 -07:00
mr.c IB/mlx4: Limit size of fast registration WRs 2010-10-11 14:33:17 -07:00
qp.c Merge branches 'amso1100', 'cma', 'cxgb3', 'cxgb4', 'fdr', 'ipath', 'ipoib', 'misc', 'mlx4', 'misc', 'nes', 'qib' and 'xrc' into for-next 2011-11-01 09:37:08 -07:00
srq.c IB/mlx4: Add support for XRC SRQs 2011-10-13 09:43:46 -07:00
user.h mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00