[ovs-dev] [PATCH 1/2] datapath: Define kmemdup() for kernels older than 2.6.19

Jesse Gross jesse at nicira.com
Wed Apr 21 14:26:42 UTC 2010


On Wed, Apr 21, 2010 at 1:50 AM, Justin Pettit <jpettit at nicira.com> wrote:

> +#if !defined(CONFIG_XEN) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
>

I think a configure test might be more appropriate here given that we are
already dealing with backported code.  Also, CONFIG_XEN is a configuration
option which presumably does not also remove this function if you turn it
off.

Otherwise looks good.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100421/ecf542fc/attachment-0003.html>


More information about the dev mailing list