From 8934a04596d1421c35b194949b2027ca1fe71aef Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 9 Feb 2019 23:29:26 +0100 Subject: buffers: fix typo Change-Id: I4e836244409c98739a13092ee252542a2c5fe259 Signed-off-by: Damjan Marion --- src/vnet/devices/virtio/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/devices/virtio/node.c') diff --git a/src/vnet/devices/virtio/node.c b/src/vnet/devices/virtio/node.c index fc369e5aea9..6b82c418ffb 100644 --- a/src/vnet/devices/virtio/node.c +++ b/src/vnet/devices/virtio/node.c @@ -120,7 +120,7 @@ more: ((vif->type == VIRTIO_IF_TYPE_PCI) ? vlib_buffer_get_current_pa (vm, b) : pointer_to_uword (vlib_buffer_get_current (b))); - d->len = vlib_bufer_get_default_size (vm) + hdr_sz; + d->len = vlib_buffer_get_default_data_size (vm) + hdr_sz; d->flags = VRING_DESC_F_WRITE; vring->avail->ring[avail & mask] = next; avail++; -- cgit 1.2.3-korg