diff options
author | Florin Coras <fcoras@cisco.com> | 2023-01-09 14:00:33 -0800 |
---|---|---|
committer | Dave Barach <vpp@barachs.net> | 2023-01-10 02:47:58 +0000 |
commit | 6d39c1e07ee681d1c36a968b11269cb2ecca7edc (patch) | |
tree | 5dca7aba89993a2239c1240b4791b5491e0e9cd4 /src/vnet | |
parent | 993c86f339fca3e382e65fc82627381255aaacec (diff) |
udp: initialize gso_size on dgram enqueue
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I1b5a35b9d53cc56d4d8050de70f40b95e92f1011
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/udp/udp_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/udp/udp_input.c b/src/vnet/udp/udp_input.c index cd709390940..d5dd159c4b2 100644 --- a/src/vnet/udp/udp_input.c +++ b/src/vnet/udp/udp_input.c @@ -185,6 +185,7 @@ udp_parse_and_lookup_buffer (vlib_buffer_t * b, session_dgram_hdr_t * hdr, hdr->lcl_port = udp->dst_port; hdr->rmt_port = udp->src_port; hdr->is_ip4 = is_ip4; + hdr->gso_size = 0; if (is_ip4) { |