diff options
author | Jason Wang <jasowang@redhat.com> | 2018-01-25 15:03:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-29 18:26:20 +0100 |
commit | 4cd879515d686849eec5f718aeac62a70b067d82 (patch) | |
tree | 8877aa0e26df62b6f4d62a6f7553a0c3fb9e648a /net | |
parent | Merge branch 'net-Ease-to-follow-an-interface-that-moves-to-another-netns' (diff) | |
download | linux-4cd879515d686849eec5f718aeac62a70b067d82.tar.xz linux-4cd879515d686849eec5f718aeac62a70b067d82.zip |
vhost_net: stop device during reset owner
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: syzbot+eb17c6162478cc50632c@syzkaller.appspotmail.com
Fixes: 3a4d5c94e9593 ("vhost_net: a kernel-level virtio server")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions