aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/restrack.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-07-23 10:02:05 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 14:12:41 -0300
commit1d2fedd8561dc469a7503855ee602f4bb3eccfa7 (patch)
treeca8ca8b8343497506abfc3c2d5942195f9e7aa54 /drivers/infiniband/core/restrack.c
parentRDMA/mlx4: Annotate boolean arguments as bool and not int (diff)
downloadlinux-dev-1d2fedd8561dc469a7503855ee602f4bb3eccfa7.tar.xz
linux-dev-1d2fedd8561dc469a7503855ee602f4bb3eccfa7.zip
RDMA/core: Support netlink commands in non init_net net namespaces
Now that IB core supports RDMA device binding with specific net namespace, enable IB core to accept netlink commands in non init_net namespaces. This is done by having per net namespace netlink socket. At present only netlink device handling client RDMA_NL_NLDEV supports device handling in multiple net namespaces. Hence do not accept netlink messages for other clients in non init_net net namespaces. Link: https://lore.kernel.org/r/20190723070205.6247-1-leon@kernel.org Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/restrack.c')
0 files changed, 0 insertions, 0 deletions