diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-08-14 16:23:17 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-08-17 00:36:40 +0000 |
commit | 62e4d84220a454185be14758ce9c60f1fda98e5a (patch) | |
tree | 94300cf0473478a02c2fd12e234df47a4384677f /src/vnet | |
parent | 4222fb1835e69fac283ef5660bffe354d40f0986 (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/vnet')
-rw-r--r-- | src/vnet/devices/virtio/node.c | 1 | ||||
-rw-r--r-- | src/vnet/pg/input.c | 1 |
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) { |