Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-26 Thread Guoshuai Li
I try remove "nf_defrag_ipv{4|6}_enabl", and then test by lsmod: stack@devstack:~$ lsmod | grep defrag nf_defrag_ipv6 36864 1 nf_conntrack_ipv6 nf_defrag_ipv4 16384 1 nf_conntrack_ipv4 stack@devstack:~$ lsmod | grep conntrack nf_conntrack_ipv6 20480 1 nf_defrag_ipv6

Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-26 Thread Guoshuai Li
Thanks all, I'm considering rolling the following incremental into this patch, does this make sense? looks good to me ~~ diff --git a/datapath/linux/compat/ip_fragment.c b/datapath/linux/compat/ip_fragment.c index efa86fcfae1b..de08f6c6744e 100644 --- a/datapath/linux/compat/ip_fragment.c +++

Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-26 Thread Joe Stringer
On 25 April 2017 at 10:00, Greg Rose wrote: > On Tue, 2017-04-25 at 23:26 +0800, Guoshuai Li wrote: >> In kernel 4.10.0, the function "nf_defrag_ipv6_enable" need >> parameters "struct net *", so we need call it for each namespace init >> to load netfilter fragment kmod. >>

Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-25 Thread Greg Rose
On Tue, 2017-04-25 at 23:26 +0800, Guoshuai Li wrote: > In kernel 4.10.0, the function "nf_defrag_ipv6_enable" need > parameters "struct net *", so we need call it for each namespace init > to load netfilter fragment kmod. > > Reported-by: Raymond Burkholder > Reported-at:

Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-25 Thread Raymond Burkholder
openvswitch.org > Subject: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0 > > In kernel 4.10.0, the function "nf_defrag_ipv6_enable" need parameters > "struct net *", so we need call it for each namespace init to load netfilter > fragment kmod. > &

[ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-25 Thread Guoshuai Li
In kernel 4.10.0, the function "nf_defrag_ipv6_enable" need parameters "struct net *", so we need call it for each namespace init to load netfilter fragment kmod. Reported-by: Raymond Burkholder Reported-at: