commit | 36f7a6aeb021a549f2d684868303c9891bc0dd00 | [log] [tgz] |
---|---|---|
author | Mohsin Kazmi <sykazmi@cisco.com> | Wed May 05 14:26:38 2021 +0200 |
committer | Damjan Marion <dmarion@me.com> | Thu May 06 10:28:02 2021 +0000 |
tree | 730f3b7ed52c07e52d863d5f467debcb4c4ca8c7 | |
parent | 11e0d752e67ac3da804e2af798d12995ae401434 [diff] [blame] |
vlib: fix the offload flags size Type: fix Change-Id: I433fe3799975fe3ba00fa30226f6e8dae34e88fc Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
diff --git a/src/vnet/devices/virtio/node.c b/src/vnet/devices/virtio/node.c index f91dc87..c36c080 100644 --- a/src/vnet/devices/virtio/node.c +++ b/src/vnet/devices/virtio/node.c
@@ -75,7 +75,7 @@ if (hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) { u16 ethertype = 0, l2hdr_sz = 0; - u32 oflags = 0; + vnet_buffer_oflags_t oflags = 0; if (type == VIRTIO_IF_TYPE_TUN) {