On Fri, Aug 28, 2015 at 10:08:23AM -0700, Jesse Gross wrote:
> On Fri, Aug 28, 2015 at 6:37 AM, Flavio Leitner <f...@redhat.com> wrote:
> > diff --git a/datapath/vport-netdev.c b/datapath/vport-netdev.c
> > index de85087..5d1e74f 100644
> > --- a/datapath/vport-netdev.c
> > +++ b/datapath/vport-netdev.c
> > @@ -38,7 +38,8 @@
> >  static struct vport_ops ovs_netdev_vport_ops;
> >  static void netdev_port_receive(struct vport *vport, struct sk_buff *skb);
> >
> > -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
> > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39) || \
> > +    defined HAVE_NETDEV_RX_HANDLER_REGISTER
> 
> I think this will break kernels 2.6.36-38 without the backport. The
> register function existed but the prototype of handler changed in
> 2.6.39.

If that is the case, then I am sure it will break.
I will check the sources of 2.6.36-38.

> I also noticed that there is a typo in the version number in the commit 
> message.

I will fix on v2.
Thanks!
fbl


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to