commit | 286aa593a58df59e3a7d6f71bb2159dd439d7f76 | [log] [tgz] |
---|---|---|
author | Mohsin Kazmi <sykazmi@cisco.com> | Thu Apr 25 14:54:32 2019 +0200 |
committer | Damjan Marion <dmarion@me.com> | Thu Apr 25 18:06:02 2019 +0000 |
tree | 5c6454c18853fbb48fd13b41625a132b4a92dedf | |
parent | 88001c64e9e5d0dc08e303857ca34687454ebf10 [diff] [blame] |
tap: Fix the indirect buffer allocation Change-Id: I73f76c25754f6fb14a49ae47b6404f3cbabbeeb5 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
diff --git a/src/vnet/devices/virtio/virtio.c b/src/vnet/devices/virtio/virtio.c index 72499b6..9fbbc1b 100644 --- a/src/vnet/devices/virtio/virtio.c +++ b/src/vnet/devices/virtio/virtio.c
@@ -121,7 +121,7 @@ do { if (n_alloc < sz) - n_alloc = + n_alloc += vlib_buffer_alloc (vm, vring->indirect_buffers + n_alloc, sz - n_alloc); }