datapath: Compatibility code for inet_proto_csum_replace2.
authorJesse Gross <jesse@nicira.com>
Tue, 7 Dec 2010 03:02:14 +0000 (19:02 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 10 Dec 2010 01:43:36 +0000 (17:43 -0800)
commit2986c21ea17a4f31ce153dea12d1f39d05ae5996
tree1830005b1ae7429aa2b5de277f240dadbf1a49cd
parent8b69563f9744877ea15bf8cb69a6bdebf8e7f477
datapath: Compatibility code for inet_proto_csum_replace2.

Kernels earlier than 2.6.25 did not define inet_proto_csum_replace2,
so implement it ourselves.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/include/net/checksum.h