summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2015-10-06 17:56:00 +0300
committerDoug Ledford <dledford@redhat.com>2015-10-06 14:25:16 -0400
commitb8cab5dab15ff5c2acc3faefdde28919b0341c11 (patch)
tree09d2c8ca6eda6c96a59cb0cff430a1b2e38ba292 /drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
parentf022fa88ce6abc83c6e678a890df5c1e4b0eaf89 (diff)
downloadlinux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.tar.gz
linux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.tar.bz2
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 'drivers/infiniband/hw/ocrdma/ocrdma_verbs.c')
0 files changed, 0 insertions, 0 deletions