[ovs-dev] [patch 2/5] datapath: rtable may not have a u. member

Jesse Gross jesse at nicira.com
Sun Aug 8 21:49:40 UTC 2010

On Fri, Aug 6, 2010 at 11:05 AM, Simon Horman <horms at verge.net.au> wrote:

> +#ifdef HAVE_RT_UNION
> +#define rt_dst(rt) (rt->u.dst)
> +#else
> +#define rt_dst(rt) (rt->dst)
> +#endif

This is best placed at the top of vport-gre.c since it isn't a definition
that appears in any kernel.  Since we ideally can delete the compat
directory and things will just work on the latest kernel we shouldn't put
things we define there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100808/1d000fa4/attachment-0003.html>

More information about the dev mailing list