datapath: Conditionally define skb_unclone in datapath compat code
authorKyle Mestery <kmestery@cisco.com>
Mon, 22 Jul 2013 14:38:13 +0000 (10:38 -0400)
committerJesse Gross <jesse@nicira.com>
Mon, 22 Jul 2013 17:24:18 +0000 (10:24 -0700)
commitdc0d542d5254c1e6b749df4c34aeb549e5599df4
treee7f04b4aa73144e7ebecbcf5d16c243afadcbdde
parent1b7ee51f9d340aa6c9f6a5772f4e79cbfd17565d
datapath: Conditionally define skb_unclone in datapath compat code

Recent versions of Fedora have skb_unclone included in their
kernels. This patch adds a conditional check into the compat directory so as
not to error out by defining it twice. This allows the latest OVS kernel
module to build on Fedora 19.

Signed-off-by: Kyle Mestery <kmestery@cisco.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
acinclude.m4
datapath/linux/compat/include/linux/skbuff.h