summaryrefslogtreecommitdiffstats
path: root/src/vnet/gso/gso.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/gso/gso.h')
-rw-r--r--src/vnet/gso/gso.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/gso/gso.h b/src/vnet/gso/gso.h
index 79869c2644b..0e46c36f74d 100644
--- a/src/vnet/gso/gso.h
+++ b/src/vnet/gso/gso.h
@@ -106,14 +106,12 @@ vnet_gso_header_offset_parser (vlib_buffer_t * b0, int is_ip6)
tcp_header_t *tcp = (tcp_header_t *) (vlib_buffer_get_current (b0) +
gho.l4_hdr_offset);
l4_hdr_sz = tcp_header_bytes (tcp);
- tcp->checksum = 0;
}
else if (l4_proto == IP_PROTOCOL_UDP)
{
udp_header_t *udp = (udp_header_t *) (vlib_buffer_get_current (b0) +
gho.l4_hdr_offset);
l4_hdr_sz = sizeof (*udp);
- udp->checksum = 0;
}
if (b0->flags & (VNET_BUFFER_F_IS_IP4 | VNET_BUFFER_F_IS_IP6))