summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/mem.c
diff options
context:
space:
mode:
authorAlex Vesker <valex@mellanox.com>2017-09-24 21:46:33 +0300
committerDoug Ledford <dledford@redhat.com>2017-09-25 11:47:24 -0400
commit7c9d9662103ae1c11acc7bfc47d988466cff23cf (patch)
tree1bf5b71801a8895c4fc14c8df5c395aab5e8dac3 /drivers/infiniband/hw/mlx5/mem.c
parent9c6f42e9254150d2772242d9f8bd8d0b7b7431ff (diff)
downloadlinux-7c9d9662103ae1c11acc7bfc47d988466cff23cf.tar.gz
linux-7c9d9662103ae1c11acc7bfc47d988466cff23cf.tar.bz2
linux-7c9d9662103ae1c11acc7bfc47d988466cff23cf.zip
IB/ipoib: Fix inconsistency with free_netdev and free_rdma_netdev
Call free_rdma_netdev instead of free_netdev each time we want to release a netdevice. This call is also relevant for future freeing of offloaded child interfaces. This patch also adds a missing call for free netdevice when releasing a parent interface that has child interfaces using ipoib_remove_one. Fixes: cd565b4b51e5 ('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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mem.c')
0 files changed, 0 insertions, 0 deletions