aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-08-14 16:23:17 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-08-17 00:36:40 +0000
commit62e4d84220a454185be14758ce9c60f1fda98e5a (patch)
tree94300cf0473478a02c2fd12e234df47a4384677f /src
parent4222fb1835e69fac283ef5660bffe354d40f0986 (diff)
gso: remove the ip checksum flag in case of ipv6
Type: fix Ticket: VPP-1727 Change-Id: Icfee35c5ab5e1c65079d1ca7bb514162319113e5 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> (cherry picked from commit 7dfcf7f1f504f5e8283c54a428805cc3a4aa8da9)
Diffstat (limited to 'src')
-rw-r--r--src/vnet/devices/virtio/node.c1
-rw-r--r--src/vnet/pg/input.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/node.c b/src/vnet/devices/virtio/node.c
index 4602d566055..9cb6cca5672 100644
--- a/src/vnet/devices/virtio/node.c
+++ b/src/vnet/devices/virtio/node.c
@@ -176,7 +176,6 @@ fill_gso_buffer_flags (vlib_buffer_t * b0, struct virtio_net_hdr_v1 *hdr)
(VNET_BUFFER_F_IS_IP6 | VNET_BUFFER_F_L2_HDR_OFFSET_VALID
| VNET_BUFFER_F_L3_HDR_OFFSET_VALID |
VNET_BUFFER_F_L4_HDR_OFFSET_VALID);
- b0->flags |= VNET_BUFFER_F_OFFLOAD_IP_CKSUM;
}
if (l4_proto == IP_PROTOCOL_TCP)
{
diff --git a/src/vnet/pg/input.c b/src/vnet/pg/input.c
index 151624fe00f..757a2916640 100644
--- a/src/vnet/pg/input.c
+++ b/src/vnet/pg/input.c
@@ -1564,7 +1564,6 @@ fill_gso_buffer_flags (vlib_main_t * vm, u32 * buffers, u32 n_buffers,
(VNET_BUFFER_F_IS_IP6 | VNET_BUFFER_F_L2_HDR_OFFSET_VALID
| VNET_BUFFER_F_L3_HDR_OFFSET_VALID |
VNET_BUFFER_F_L4_HDR_OFFSET_VALID);
- b0->flags |= VNET_BUFFER_F_OFFLOAD_IP_CKSUM;
}
if (l4_proto == IP_PROTOCOL_TCP)
{