Commit cfa0ebc
virtio-net: fix module unloading
Unregister the driver before removing multi-instance hotplug
callbacks. This order avoids the warning issued from
__cpuhp_remove_state_cpuslocked when the number of remaining
instances isn't yet zero.
Fixes: 8017c27 ("net/virtio-net: Convert to hotplug state machine")
Cc: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Andrew Jones <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>1 parent f9aada5 commit cfa0ebc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2743 | 2743 | | |
2744 | 2744 | | |
2745 | 2745 | | |
| 2746 | + | |
2746 | 2747 | | |
2747 | 2748 | | |
2748 | | - | |
2749 | 2749 | | |
2750 | 2750 | | |
2751 | 2751 | | |
| |||
0 commit comments