Message ID | 1493334794-14665-3-git-send-email-gvrose8192@gmail.com |
---|---|
State | Accepted |
Headers | show |
On 27 April 2017 at 16:13, Greg Rose <gvrose8192@gmail.com> wrote: > The net parameter was added to nf_defrag_ipv6_enable in linux 4.10 > > Signed-off-by: Greg Rose <gvrose8192@gmail.com> Thanks for the patch. Since this macro is only used by the next patch, I'll roll it into that one. Then in future if someone is referring back, they can see why this compat code was introduced.
On Fri, 2017-04-28 at 14:34 -0700, Joe Stringer wrote: > On 27 April 2017 at 16:13, Greg Rose <gvrose8192@gmail.com> wrote: > > The net parameter was added to nf_defrag_ipv6_enable in linux 4.10 > > > > Signed-off-by: Greg Rose <gvrose8192@gmail.com> > > Thanks for the patch. Since this macro is only used by the next patch, > I'll roll it into that one. Then in future if someone is referring > back, they can see why this compat code was introduced. Thanks! - Greg
diff --git a/acinclude.m4 b/acinclude.m4 index 0d6647e..8653a30 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -703,7 +703,9 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [ OVS_FIND_PARAM_IFELSE([$KSRC/include/net/protocol.h], [udp_add_offload], [net], [OVS_DEFINE([HAVE_UDP_ADD_OFFLOAD_TAKES_NET])]) - + OVS_FIND_PARAM_IFELSE([$KSRC/include/net/netfilter/ipv6/nf_defrag_ipv6.h], + [nf_defrag_ipv6_enable], [net], + [OVS_DEFINE([HAVE_DEFRAG_ENABLE_TAKES_NET])]) if cmp -s datapath/linux/kcompat.h.new \ datapath/linux/kcompat.h >/dev/null 2>&1; then
The net parameter was added to nf_defrag_ipv6_enable in linux 4.10 Signed-off-by: Greg Rose <gvrose8192@gmail.com> --- acinclude.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)