Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-06 Thread Ding Tianhong
On 2016/7/6 16:44, Eric Dumazet wrote: > On Wed, 2016-07-06 at 16:15 +0800, Ding Tianhong wrote: >> Hi Eric: >> >> I had found out that the patch aaf92f(netfilter: conntrack: resched in >> nf_ct_iterate_cleanup) solve the problem, >> this patch add cond_sched() in the nf_ct_iterate_cleanup() which

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-06 Thread Eric Dumazet
On Wed, 2016-07-06 at 16:15 +0800, Ding Tianhong wrote: > Hi Eric: > > I had found out that the patch aaf92f(netfilter: conntrack: resched in > nf_ct_iterate_cleanup) solve the problem, > this patch add cond_sched() in the nf_ct_iterate_cleanup() which will > be called in the net notifier chain e

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-06 Thread Ding Tianhong
On 2016/7/1 16:23, Eric Dumazet wrote: > On Fri, 2016-07-01 at 16:10 +0800, Ding Tianhong wrote: >> On 2016/7/1 15:57, Eric Dumazet wrote: >>> On Fri, 2016-07-01 at 15:38 +0800, Ding Tianhong wrote: >>> ... net/ipv6/addrconf.c | 6 ++ 1 file changed, 6 insertions(+) diff --

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-01 Thread Eric Dumazet
On Fri, 2016-07-01 at 16:10 +0800, Ding Tianhong wrote: > On 2016/7/1 15:57, Eric Dumazet wrote: > > On Fri, 2016-07-01 at 15:38 +0800, Ding Tianhong wrote: > > ... > >> net/ipv6/addrconf.c | 6 ++ > >> 1 file changed, 6 insertions(+) > >> > >> diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrc

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-01 Thread Ding Tianhong
On 2016/7/1 15:57, Eric Dumazet wrote: > On Fri, 2016-07-01 at 15:38 +0800, Ding Tianhong wrote: > ... >> net/ipv6/addrconf.c | 6 ++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c >> index f555f4f..e294a3d 100644 >> --- a/net/ipv6/addrconf.c >>

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-01 Thread Eric Dumazet
On Fri, 2016-07-01 at 15:38 +0800, Ding Tianhong wrote: ... > net/ipv6/addrconf.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c > index f555f4f..e294a3d 100644 > --- a/net/ipv6/addrconf.c > +++ b/net/ipv6/addrconf.c > @@ -3284,6 +3284,12

[PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-01 Thread Ding Tianhong
The problem was occurs in my system that a lot of drviers register its own handler to the notifiler call chain for netdev_chain, and then create 4095 vlan dev for one nic, and add several ipv6 address on each one of them, just like this: for i in `seq 1 4095`; do ip link add link eth0 name eth0.$i