datapath: Define kmemdup() for kernels older than 2.6.19
authorJustin Pettit <jpettit@nicira.com>
Wed, 21 Apr 2010 05:42:35 +0000 (22:42 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 22 Apr 2010 10:37:45 +0000 (03:37 -0700)
commitea32310720d9d07eeb668e404a5062bd9bce832d
tree472eeb7adfd672c95a6076a259d1f614bb533adc
parent291a0f6b6e05fe5be28b935436abb5a958334885
datapath: Define kmemdup() for kernels older than 2.6.19

The new GRE code requires the kmemdup function, but it's not available
on 2.6.18 kernels.  It has been backported to Xen, so only define it for
non-Xen kernels older than 2.6.19.
acinclude.m4
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/include/linux/slab.h [new file with mode: 0644]
datapath/linux-2.6/compat-2.6/kmemdup.c [new file with mode: 0644]