]> 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)
commitf7eb94f5bcdbff4c3fa08e03a8d9cf777f4ebb0d
tree1a2862f71ba26459483335426a91809daf9beb40
parent84fed87d72741e0250d4e63578d7d3a61f2cda3e
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