[ovs-git] [openvswitch/ovs] 884d54: datapath-windows: Support for IPv6 in TCP segmenta...

GitHub noreply at github.com
Tue Mar 15 03:38:29 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 884d541fdffe44714eb9381fb92f8f4e1cfcf668
      https://github.com/openvswitch/ovs/commit/884d541fdffe44714eb9381fb92f8f4e1cfcf668
  Author: Sairam Venugopal <vsairam at vmware.com>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M datapath-windows/ovsext/BufferMgmt.c

  Log Message:
  -----------
  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,
TCP checksum.

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>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/105
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list