Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost_net: stop device during reset owner
[ Upstream commit 4cd8795 ] We don't stop device before reset owner, this means we could try to serve any virtqueue kick before reset dev->worker. This will result a warn since the work was pending at llist during owner resetting. Fix this by stopping device during owner reset. Reported-by: [email protected] Fixes: 3a4d5c9 ("vhost_net: a kernel-level virtio server") Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information