Files
linux-stable-mirror/drivers
Parav Pandit 777c7b8464 RDMA/cma: Do not ignore net namespace for unbound cm_id
[ Upstream commit 643d213a9a ]

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: 4c21b5bcef ("IB/cma: Add net_dev and private data checks to RDMA CM")
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-19 22:41:37 +02:00
..
…
2018-06-30 21:24:18 +09:00
…
…
…
…
2018-06-12 16:19:22 -07:00
…
…
2018-06-12 16:19:22 -07:00
…
2018-06-12 16:19:22 -07:00
2018-08-22 07:43:43 +02:00
…
…
2018-06-25 21:36:45 +08:00
2018-06-15 18:10:01 -03:00
2018-06-12 16:19:22 -07:00
…
2018-06-12 16:19:22 -07:00
…
…
2018-07-18 15:25:25 -07:00
2018-09-15 09:46:47 +02:00
…
…
2018-06-12 16:19:22 -07:00
…
2018-06-12 16:19:22 -07:00
…
…
…
…
…
2018-08-22 07:43:42 +02:00
2018-06-12 16:19:22 -07:00
…
…
…
…