diff options
| author | Alex Vesker <[email protected]> | 2017-09-24 18:46:33 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-09-25 15:47:24 +0000 |
| commit | 7c9d9662103ae1c11acc7bfc47d988466cff23cf (patch) | |
| tree | 1bf5b71801a8895c4fc14c8df5c395aab5e8dac3 /scripts/gcc-plugins/gcc-common.h | |
| parent | IB/ipoib: Fix sysfs Pkey create<->remove possible deadlock (diff) | |
| download | kernel-7c9d9662103ae1c11acc7bfc47d988466cff23cf.tar.gz kernel-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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
