]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Limit call to free rdma_netdev for capable devices
authorAlex Vesker <valex@mellanox.com>
Wed, 14 Jun 2017 06:59:06 +0000 (09:59 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Jun 2017 19:16:23 +0000 (15:16 -0400)
commit7afc9b3b26451c62f144567e5beef4e217cee245
tree290c3df75277d711f118a2795242818473748624
parent7d582fb21dd96cd378666c5b55b89f4a02ace3ab
IB/ipoib: Limit call to free rdma_netdev for capable devices

Limit calls to free_rdma_netdev() for capable devices only.

Fixes: 52a57478c4d6 ('IB/IPoIB: Support acceleration options callbacks')
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/ulp/ipoib/ipoib_main.c