Re: [PATCH RESEND rdma-next] IB: Support netlink commands in non init_net net namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 23, 2019 at 10:02:05AM +0300, Leon Romanovsky wrote:
> From: Parav Pandit <parav@xxxxxxxxxxxx>
> 
> 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.
> 
> Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  Rebased on top v5.3-rc1
> ---
>  drivers/infiniband/core/addr.c      |  2 +-
>  drivers/infiniband/core/core_priv.h | 24 ++++++++++-
>  drivers/infiniband/core/device.c    | 38 ++++++-----------
>  drivers/infiniband/core/iwpm_msg.c  |  8 ++--
>  drivers/infiniband/core/iwpm_util.c |  6 +--
>  drivers/infiniband/core/netlink.c   | 63 ++++++++++++++++++++---------
>  drivers/infiniband/core/nldev.c     | 20 ++++-----
>  drivers/infiniband/core/sa_query.c  |  2 +-
>  include/rdma/rdma_netlink.h         | 10 +++--
>  9 files changed, 105 insertions(+), 68 deletions(-)

Applied to for-next, thanks

But for future I would have prefered to see the 'add net * arguments'
part as a 2nd patch

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux