diff options
| author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-07-21 12:19:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-21 16:53:34 +0200 |
| commit | adcdd57d5feab928d58959956844a6b755a41650 (patch) | |
| tree | a7ca7c9e17a528c0ffd27bfd014ac75199c0fd95 /net/lapb/lapb_timer.c | |
| parent | 4acfc4393e90e4dfa6ebc6e43545296ca1d928fe (diff) | |
staging: dpaa2-ethsw: destroy workqueue after deregistering the notifiers
We should destroy the switch workqueue only after deregistering the
switchdev notifiers. Without this fix, we could end up with switchdev
notifications on a draining workqueue and also with a lock up since the
netdevice reference count is increased (in port_switchdev_event) and not
decreased ever (since the workqueue did not run).
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20200721091919.20394-5-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
