linux/drivers/net/ethernet/mellanox/mlx5/core
Sagi Grimberg 6ef07a9f36 mlx5_core: Fix possible race between mr tree insert/delete
In mlx5_core_destroy_mkey(), we must first remove the mr from the
radix tree and then destroy it.  Otherwise we might hit a race if the
key was reallocated and we attempted to insert it to the radix tree.

Also handle radix tree insert/delete failures.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Eli Cohen <elic@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-07-09 16:58:58 -07:00
..
alloc.c
cmd.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
cq.c IB/mlx5: Add support for resize CQ 2014-01-22 23:23:50 -08:00
debugfs.c mlx5_core: Improve debugfs readability 2014-01-22 23:23:50 -08:00
eq.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
fw.c net/mlx5_core: Support MANAGE_PAGES and QUERY_PAGES firmware command changes 2013-08-15 15:42:57 -07:00
health.c mlx5: remove health handler plugin 2013-08-05 11:04:12 -07:00
Kconfig IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
mad.c
main.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
Makefile
mcg.c
mlx5_core.h mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
mr.c mlx5_core: Fix possible race between mr tree insert/delete 2014-07-09 16:58:58 -07:00
pagealloc.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
pd.c
port.c mlx5_core: Fix out arg size in access_register command 2014-01-22 23:23:44 -08:00
qp.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
srq.c
uar.c mlx5: fix error return code in mlx5_alloc_uuars() 2013-07-30 19:33:45 -07:00