diff options
author | Parav Pandit <parav@mellanox.com> | 2019-07-04 16:04:01 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-08 17:03:35 -0300 |
commit | 7a54f78d9387b75d8e64bac18e84cd65f639121f (patch) | |
tree | fa0d1c4ebaf235761fbde83eb057272cf4f8a3cb /include/rdma | |
parent | RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM (diff) | |
download | linux-dev-7a54f78d9387b75d8e64bac18e84cd65f639121f.tar.xz linux-dev-7a54f78d9387b75d8e64bac18e84cd65f639121f.zip |
IB/core: Work on the caller socket net namespace in nldev_newlink()
While creating new RDMA devices based on netdevice name, consider the net
namespace of the caller skb's socket similar to rest of the doit()
callbacks and nldev_dellink() which deletes the RDMA device created using
nldev_newlink().
Fixes: 3856ec4b93c94 ("RDMA/core: Add RDMA_NLDEV_CMD_NEWLINK/DELLINK support")
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 'include/rdma')
0 files changed, 0 insertions, 0 deletions