[ovs-dev] [ovs-discuss] [PATCH] datapath: Fix build with backported netdev_alloc_skb_ip_align()

Jesse Gross jesse at nicira.com
Mon Aug 2 16:35:02 UTC 2010


On Mon, Aug 2, 2010 at 3:20 AM, Alexey I. Froloff <raorn at altlinux.org>wrote:

> Signed-off-by: Alexey I. Froloff <raorn at altlinux.org>
> ---
>  acinclude.m4                                       |    2 ++
>  .../linux-2.6/compat-2.6/include/linux/skbuff.h    |    4 ++--
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 80794da..a0abdb5 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -182,6 +182,8 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [
>                   [OVS_DEFINE([HAVE_SKBUFF_HEADER_HELPERS])])
>   OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_warn_if_lro],
>                   [OVS_DEFINE([HAVE_SKB_WARN_LRO])])
> +  OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h],
> [netdev_alloc_skb_ip_align],
> +                  [OVS_DEFINE([HAVE_NETDEV_ALLOC_SKB_IP_ALIGN])])


We actually don't use this function anymore so rather than adding a
configure test, it's better to just delete it.

Also, patches really belong on the dev@ mailing list, so I have moved this
thread there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100802/2bdf1cf5/attachment-0003.html>


More information about the dev mailing list