diff options
author | Parav Pandit <parav@mellanox.com> | 2018-07-16 10:50:12 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-26 17:47:47 +0200 |
commit | d274e45ce1ed0bc5750f4d3f066bfc164843216b (patch) | |
tree | dd2be54e2fe5b568f550a94d23fe888387cc2ca0 /drivers/media | |
parent | IB/core: Introduce and use sgid_attr in CM requests (diff) | |
download | linux-d274e45ce1ed0bc5750f4d3f066bfc164843216b.tar.xz linux-d274e45ce1ed0bc5750f4d3f066bfc164843216b.zip |
RDMA/cma: Consider netdevice for RoCE ports
When netdevice is not found for a request, and if it for RoCE port,
currently it allows matching the listener as long as port number matches
by ignoring the netdevice.
Now that we always prefer to have netdevice associated with RoCE, when
netdevice is not found, don't consider RoCE ports.
In other words, a NULL netdevice with RoCE is not acceptable. Therefore,
remove this confusing RoCE port ignorance check.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions