Message ID | 1450993497-43788-1-git-send-email-joe@ovn.org |
---|---|
State | Deferred |
Headers | show |
On 24 December 2015 at 13:44, Joe Stringer <joe@ovn.org> wrote:
> Signed-off-by: Joe Stringer <joe@ovn.org>
I realised this is only needed in conjunction with another series I'm
working on; This has no effect on master. I will resubmit this patch
as part of that series.
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)
Signed-off-by: Joe Stringer <joe@ovn.org> --- datapath/linux/compat/include/net/inetpeer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)