datapath: Consistently maintain checksum offloading state.
authorJesse Gross <jesse@nicira.com>
Sun, 28 Feb 2010 17:17:16 +0000 (12:17 -0500)
committerJesse Gross <jesse@nicira.com>
Sun, 28 Feb 2010 20:45:00 +0000 (15:45 -0500)
commita063b0dff0ccb6639f7e95969843d1c7cc2e15ae
tree5c9813b7266967689472fe1a2e5b20b28fcc733e
parent79554078d08b849059389f007a00c85b471d9e3d
datapath: Consistently maintain checksum offloading state.

When adding a VLAN tag it is necessary for us to setup checksum
pointers for offloaded packets manually.  However, this process
clobbers some of the fields that other components need to determine
the current status.  Here we mark the packet with its status upon
ingress in our own format that does not get clobbered and is
consistent across kernel versions.

Bug #2436
datapath/actions.c
datapath/datapath.c
datapath/datapath.h