Re: [ovs-dev] [PATCH 1/3] datapath: compat: Fix build on RHEL 7.3

2017-01-13 Thread Han Zhou
Should this one be applied to stable branches such as ovs2.6?

Now I got the compile error while compiling ovs2.6 with kernel version
3.10.0-514.2.2.el7.x86_64 (CentOS 7.3):

ovs/datapath/linux/compat/include/linux/netdevice.h:125:34: error:
conflicting types for 'netdev_notifier_info_to_dev'
 static inline struct net_device *netdev_notifier_info_to_dev(void *info)
  ^
Thanks,
Han


On Wed, Dec 14, 2016 at 3:12 PM, Joe Stringer  wrote:

> On 8 December 2016 at 18:34, Yi-Hung Wei  wrote:
> > RHEL 7.3 provides upstream tunnel but it does not support
> name_assign_type
> > attribute in net-device. This patch fixes the build problem by
> backporting
> > functions with name_assign_type, and using proper flags in acinclude.m4
> to
> > invoke backport functions.
> >
> > Tested on RHEL 7.3 with kernel 3.10.0-514.el7.x86_64
> >
> > Signed-off-by: Yi-Hung Wei 
>
> Thanks, applied to master.
> ___
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH 1/3] datapath: compat: Fix build on RHEL 7.3

2016-12-14 Thread Joe Stringer
On 8 December 2016 at 18:34, Yi-Hung Wei  wrote:
> RHEL 7.3 provides upstream tunnel but it does not support name_assign_type
> attribute in net-device. This patch fixes the build problem by backporting
> functions with name_assign_type, and using proper flags in acinclude.m4 to
> invoke backport functions.
>
> Tested on RHEL 7.3 with kernel 3.10.0-514.el7.x86_64
>
> Signed-off-by: Yi-Hung Wei 

Thanks, applied to master.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev