summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-08-06 13:48:50 -0700
committerDave Wallace <dwallacelf@gmail.com>2019-08-07 15:13:42 +0000
commit08f2a5dae9663eafa09685ebebf672aa6b0b7ae0 (patch)
treee96a2a9b05d6154ef12b8bc60642f87469ae0d2b
parent388f418a8e425366190b7fa79dd1d112efdbf149 (diff)
interface: fix checksum flags
Type:fix Fixes:4208a4c Change-Id: I7077788cd14f539b06ead5dc65d8411940438bae Signed-off-by: Florin Coras <fcoras@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--src/vnet/interface_output.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c
index b4832bf2bba..593457c10cf 100644
--- a/src/vnet/interface_output.c
+++ b/src/vnet/interface_output.c
@@ -224,6 +224,9 @@ calc_checksums (vlib_main_t * vm, vlib_buffer_t * b)
ip6_tcp_udp_icmp_compute_checksum (vm, b, ip6, &bogus);
}
}
+ b->flags &= ~VNET_BUFFER_F_OFFLOAD_TCP_CKSUM;
+ b->flags &= ~VNET_BUFFER_F_OFFLOAD_UDP_CKSUM;
+ b->flags &= ~VNET_BUFFER_F_OFFLOAD_IP_CKSUM;
}
static_always_inline u16