diff options
author | Haggai Eran <haggaie@mellanox.com> | 2015-10-06 17:56:00 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-06 14:25:16 -0400 |
commit | b8cab5dab15ff5c2acc3faefdde28919b0341c11 (patch) | |
tree | 09d2c8ca6eda6c96a59cb0cff430a1b2e38ba292 /net | |
parent | f022fa88ce6abc83c6e678a890df5c1e4b0eaf89 (diff) | |
download | blackbird-op-linux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.tar.gz blackbird-op-linux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions