Don't define skb_copy_{to,from}_linear_data_offset if it is available.
authorBen Pfaff <blp@nicira.com>
Tue, 3 Feb 2009 18:27:22 +0000 (10:27 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 3 Feb 2009 18:27:22 +0000 (10:27 -0800)
commit98dabbc2852dcf5dbd3900f4fd8ed150f22afc14
treefabe658e460a07a1305e3010f958958fcb1e006e
parent96660ad113bdd8005facb4ea7c6ebe6c44bd4248
Don't define skb_copy_{to,from}_linear_data_offset if it is available.

Linux 2.6.22 introduced functions skb_copy_from_linear_data_offset()
and skb_copy_to_linear_data_offset().  In earlier versions we defined them.
But Xen backports these functions, so this became a duplicate definition.
So check for them at configure time instead of depending on the kernel
version number.
acinclude.m4
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h