diff options
| author | Parav Pandit <[email protected]> | 2018-07-16 11:50:13 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-07-26 09:47:47 -0600 |
| commit | 643d213a9a034fa04f5575a40dfc8548e33ce04f (patch) | |
| tree | c955259fce5028bdac3cc3a2a83b551c1c02a59d /scripts/gcc-plugins | |
| parent | d274e45ce1ed0bc5750f4d3f066bfc164843216b (diff) | |
RDMA/cma: Do not ignore net namespace for unbound cm_id
Currently if the cm_id is not bound to any netdevice, than for such cm_id,
net namespace is ignored; which is incorrect.
Regardless of cm_id bound to a netdevice or not, net namespace must
match. When a cm_id is bound to a netdevice, in such case net namespace
and netdevice both must match.
Fixes: 4c21b5bcef73 ("IB/cma: Add net_dev and private data checks to RDMA CM")
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions