datapath: Try to avoid custom checksum update function.
authorJesse Gross <jesse@nicira.com>
Tue, 7 Dec 2010 02:03:37 +0000 (18:03 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 10 Dec 2010 01:43:36 +0000 (17:43 -0800)
commite7d737d175dfe53436b356445ecb154541d2afff
treebf13c9127526ab579027bc46d93f3751063593c2
parent2986c21ea17a4f31ce153dea12d1f39d05ae5996
datapath: Try to avoid custom checksum update function.

Our update_csum() function was exactly the same as
inet_proto_csum_replace4() with the one exception that it uses our
checksum status fields on older kernels that need it.  Unfortunately,
we can't completely move the code to the compat directory because it
relies on fields in OVS CB but we can at least exile it to checksum.h.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/actions.c
datapath/checksum.h