diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-07-20 13:41:31 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-07-21 10:23:31 +0300 |
commit | c047e5f3170c2595e66ed67f87cec01afd717212 (patch) | |
tree | 5e48ab84e14e4380b8409e646f086143c1769f5d /ipc | |
parent | b834226b04d6fb51178a64e98872856986c71474 (diff) |
vhost-net: update used ring on backend change
On backend change, we flushed out outstanding skbs
but forgot to update the used ring, so that
done entries were left in the ubuf_info ring.
As a result we lose heads or complete incorrect ones,
crashing the guest or leaking memory.
Fix by updating the used ring.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions