Haggai Eran b8cab5dab1 IB/cma: Accept connection without a valid netdev on RoCE
The netdev checks recently added to RDMA CM expect a valid netdev to be
found for both InfiniBand and RoCE, but the code that find a netdev is
only implemented for InfiniBand.

Currently RoCE doesn't provide an API to find the netdev matching a
given set of parameters, so this patch just disables the netdev enforcement
for each incoming connections when the link layer is RoCE.

Fixes: 4c21b5bcef73 ("IB/cma: Add net_dev and private data checks to RDMA CM")
Reported-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-10-06 14:25:16 -04:00
..
2015-06-12 14:49:18 -04:00
2015-08-30 18:12:20 -04:00
2015-05-05 13:21:27 -04:00
2015-08-30 15:48:24 -04:00
2015-08-30 18:12:33 -04:00
2015-08-30 18:12:33 -04:00
2015-09-09 08:33:31 -07:00
2015-08-30 15:48:24 -04:00
2015-08-30 18:12:41 -04:00
2015-05-05 09:18:02 -04:00
2015-09-09 08:33:31 -07:00