gre: Don't require incoming checksum.
authorJesse Gross <jesse@nicira.com>
Sat, 14 Aug 2010 16:25:58 +0000 (12:25 -0400)
committerJesse Gross <jesse@nicira.com>
Sat, 21 Aug 2010 02:43:06 +0000 (19:43 -0700)
commit16e9d4f64f4ad7adf3e5f619e65a2045282b3969
tree9bf05235d4a40796135b1c01931439c4b41fb41b
parentbd1bcd39a51c6110a94392ab1551b36b8df6bc59
gre: Don't require incoming checksum.

The current meaning of the GRE checksum option is to include
checksums on transmit and require packets to have them on receive.
In addition, incoming packets with checksums are always validated
regardless of this option.  Requiring checksums on receive creates
surprising behavior and interoperability issues.  This disables the
requirement on receive.  The new behavior is that the sender decides
whether to checksum packets and the receiver will validate packets
with checksums (similar to UDP).

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/vport-gre.c
include/openvswitch/gre.h
lib/netdev-gre.c
vswitchd/vswitch.xml