diff options
author | Dave Ertman <david.m.ertman@intel.com> | 2021-10-07 18:40:31 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-25 23:44:37 +0300 |
commit | 6a8b357278f5f8b9817147277ab8f12879dce8a8 (patch) | |
tree | 8aca0ec3e7d6f99e12e0b2ef8cbb0287727325d3 /net/tipc/socket.c | |
parent | f7a1e76d0f608961cc2fc681f867a834f2746bce (diff) | |
download | linux-6a8b357278f5f8b9817147277ab8f12879dce8a8.tar.xz |
ice: Respond to a NETDEV_UNREGISTER event for LAG
When the PF is a member of a link aggregate, and the driver
is removed, the process will hang unless we respond to the
NETDEV_UNREGISTER event that is sent to the event_handler
for LAG.
Add a case statement for the ice_lag_event_handler to unlink
the PF from the link aggregate.
Also remove code that was incorrectly applying a dev_hold to
peer_netdevs that were associated with the ice driver.
Fixes: df006dd4b1dc ("ice: Add initial support framework for LAG")
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions