linux/drivers/infiniband/sw
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
..
rdmavt rdma: fix buggy code that the compiler warns about 2016-12-15 12:18:42 -08:00
rxe IB/rxe: Fix rxe dev insertion to rxe_dev_list 2017-01-24 16:17:25 -05:00
Makefile Soft RoCE driver 2016-08-04 11:13:12 -04:00