]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Avoid freeing netdevs in disable_device()
authorParav Pandit <parav@mellanox.com>
Mon, 15 Apr 2019 10:22:49 +0000 (13:22 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 22 Apr 2019 17:44:58 +0000 (14:44 -0300)
commitc3c9eac4f6111cc1c9124e6cfea08479e0ca5708
tree1a2862f71ba26459483335426a91809daf9beb40
parentc7d9650d5b0405cc1add80e5b5774694320668fa
RDMA/core: Avoid freeing netdevs in disable_device()

So we can use the disable_device() helper while changing the net namespace
of the rdma device in a subsequent patch, move free_netdevs() out of it.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c