commit | cfa0ebc9d6d6308564f5174ecb655b9d504b2be5 | [log] [tgz] |
---|---|---|
author | Andrew Jones <drjones@redhat.com> | Mon Jul 24 15:38:32 2017 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Jul 25 16:37:36 2017 +0300 |
tree | 910ffe5323fd35fa7f58b24ec19fff5ea888a651 | |
parent | f9aada5fff212913372410ae45c18c7c3cade67a [diff] |
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: 8017c279196a ("net/virtio-net: Convert to hotplug state machine") Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>