datapath: Add function to copy skb checksum bits.
authorJesse Gross <jesse@nicira.com>
Wed, 7 Apr 2010 17:55:28 +0000 (13:55 -0400)
committerJesse Gross <jesse@nicira.com>
Mon, 19 Apr 2010 13:11:57 +0000 (09:11 -0400)
commitff6402a9f0d9ee4c29567b62938c82924d502b92
tree0a572c97375c2fb803fd27e90faa5da3a330eb49
parent2d2a0e309f2464fd2cf77a328b15acc62cfc7c09
datapath: Add function to copy skb checksum bits.

Some kernels don't copy the checksum offload state in the skb
header when doing different types of copies.  Xen adds even more
fields, which are also not consistently copied.  The result is
uninitialized memory and random outcomes.  This adds a function to
consistently copy these bits across all kernel versions.
datapath/actions.c
datapath/actions.h