[ovs-git] [openvswitch/ovs] 884d54: datapath-windows: Support for IPv6 in TCP segmenta...
noreply at github.com
Tue Mar 15 03:38:29 UTC 2016
Author: Sairam Venugopal <vsairam at vmware.com>
Date: 2016-03-14 (Mon, 14 Mar 2016)
datapath-windows: Support for IPv6 in TCP segmentation
When a packet which needs segmentation is received, the header for
each segment is being calculated, i.e. IP length, checksum, TCP seq,
The problem with the current code is that it wrongly assumes that
the Ethernet frame payload is always an IPv4 packet.
This patch checks the EtherType field of the Ethernet frame to see
which protocol is encapsulated in its payload, IPv4 or IPv6, and
calculates the segment's header accordingly.
Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Co-authored-by: Sairam Venugopal <vsairam at vmware.com>
Reported-by: Sairam Venugopal <vsairam at vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git