aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-08-14 16:23:17 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-08-16 13:05:44 +0000
commit7dfcf7f1f504f5e8283c54a428805cc3a4aa8da9 (patch)
tree388ecb5eb7feb9292cf748edefc2a99fb57abf1e /src/vnet
parent77cc14a2b29a65073539e6e3f4683a380875b3dc (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>
Diffstat (limited to 'src/vnet')
-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)
{