aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/packer.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-09-05 12:54:26 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-12 16:32:17 -0600
commit0e9d2c19bff1d351005afb2f990a913e395ba6d4 (patch)
treef7aa4e5568d19fc2b2ab2b2060a6500612cd121e /drivers/infiniband/core/packer.c
parentRDMA/core: Introduce rdma_read_gid_attr_ndev_rcu() to check GID attribute (diff)
downloadlinux-dev-0e9d2c19bff1d351005afb2f990a913e395ba6d4.tar.xz
linux-dev-0e9d2c19bff1d351005afb2f990a913e395ba6d4.zip
RDMA/core: Consider net ns of gid attribute for RoCE
When resolving destination address or route, when net namespace is unavailable, refer to the net namespace of the netdevice of the SGID attribute. This is typically the case for requests arriving from the network for RoCE ports. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/packer.c')
0 files changed, 0 insertions, 0 deletions