datapath: Support CHECKSUM_PARTIAL on older kernels.
authorJesse Gross <jesse@nicira.com>
Mon, 25 Jan 2010 00:58:46 +0000 (19:58 -0500)
committerJesse Gross <jesse@nicira.com>
Tue, 26 Jan 2010 23:09:34 +0000 (18:09 -0500)
commit1cdb82b9f51f0c087c791a7f60ac9271299a3e04
tree2ad6f23db08bb5ac382c3e79c09850f24be8c898
parent00ba5f3b155003640875b780d0f4ccd9274158c6
datapath: Support CHECKSUM_PARTIAL on older kernels.

On older kernels we would not correctly update partial checksums
because it was difficult to determine the type of checksum.  This
uses some hints to infer the correct type of checksum so that it
can be updated.  It also allows us to correctly define
CHECKSUM_PARTIAL, which is important for other components.
datapath/actions.c
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h