Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b5df85e
)
virtio: fix overflow in case of buffering + drop
53/30053/2
author
Benoît Ganne
<bganne@cisco.com>
Fri, 20 Nov 2020 18:18:41 +0000
(19:18 +0100)
committer
Damjan Marion
<dmarion@me.com>
Mon, 23 Nov 2020 15:59:07 +0000
(15:59 +0000)
Type: fix
Fixes:
2e6f624f1f82ae0351dd05ad5d930d6876105519
Change-Id: Ib41c82ea1e8430afc920250fb0d054a2fb2d08c9
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/devices/virtio/device.c
patch
|
blob
|
history
diff --git
a/src/vnet/devices/virtio/device.c
b/src/vnet/devices/virtio/device.c
index
7e57952
..
6b57dd6
100644
(file)
--- 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)