linux/drivers/infiniband
Maor Gottlieb f39f775218 IB/rxe: Fix rxe dev insertion to rxe_dev_list
The first argument of list_add_tail is the new item and the second
is the head of the list. Fix the code to pass arguments in the
right order, otherwise not all the rxe devices will be removed
during teardown.

Fixes: 8700e3e7c4 ('Soft RoCE driver')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 16:17:25 -05:00
..
core IB/umem: Release pid in error and ODP flow 2017-01-24 15:44:31 -05:00
hw RDMA/qedr: Dispatch port active event from qedr_add 2017-01-24 15:35:08 -05:00
sw IB/rxe: Fix rxe dev insertion to rxe_dev_list 2017-01-24 16:17:25 -05:00
ulp IB/iser: remove unused variable from iser_conn struct 2017-01-24 11:37:45 -05:00
Kconfig IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00