diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-11-20 19:18:41 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-11-23 15:59:07 +0000 |
commit | e7af6f7ca4c03dee743c08f7be6e48289ca25ebf (patch) | |
tree | 59c79e436d1ee483b29aeeffab48ba17c2e5a65f /src/vnet/devices/virtio | |
parent | b5df85e2436b3a71d1771f1c66485d80d57e4c44 (diff) |
virtio: fix overflow in case of buffering + drop
Type: fix
Fixes: 2e6f624f1f82ae0351dd05ad5d930d6876105519
Change-Id: Ib41c82ea1e8430afc920250fb0d054a2fb2d08c9
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio')
-rw-r--r-- | src/vnet/devices/virtio/device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/device.c b/src/vnet/devices/virtio/device.c index 7e57952905b..6b57dd62e98 100644 --- a/src/vnet/devices/virtio/device.c +++ b/src/vnet/devices/virtio/device.c @@ -1042,7 +1042,6 @@ retry: [frame->n_vectors - n_left], n_left); - buffers += n_buffered; n_left -= n_buffered; } if (n_left) |