datapath: Fix build with Centos 5.3 kernel.
authorBen Pfaff <blp@nicira.com>
Fri, 9 Oct 2009 16:41:29 +0000 (09:41 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Oct 2009 16:44:51 +0000 (09:44 -0700)
commitaed944953be7c8d71beada565ac9923ab86855e5
treef2451382fd9d4d814b7ad59ffe48842e7923980d
parentbf7446a4f4b17cebb4500fe9d57b8d240567795e
datapath: Fix build with Centos 5.3 kernel.

Centos 5.3 backports more functions from later kernel versions to 2.6.18,
so the kernel version number is no longer a reliable way to check for these
functions.  Thus, add a "configure" test for them.

Reported-by: Paulo Cravero <pcravero@as2594.net>
acinclude.m4
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
datapath/linux-2.6/compat-2.6/include/net/checksum.h