Signed-off-by: Joe Stringer <j...@ovn.org> --- datapath/linux/compat/include/net/inetpeer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/datapath/linux/compat/include/net/inetpeer.h b/datapath/linux/compat/include/net/inetpeer.h index 02e9d440a60c..68a1732388c1 100644 --- a/datapath/linux/compat/include/net/inetpeer.h +++ b/datapath/linux/compat/include/net/inetpeer.h @@ -3,7 +3,8 @@ #include_next <net/inetpeer.h> -#ifdef OVS_FRAGMENT_BACKPORT +#if defined(OVS_FRAGMENT_BACKPORT) && \ + LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0) static inline struct inet_peer *rpl_inet_getpeer_v4(struct inet_peer_base *base, __be32 v4daddr, int vif, int create) -- 2.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev