Re: 答复: [PATCH] net: clean the sk_frag.page of new cloned socket

2018-01-25 Thread Cong Wang
On Thu, Jan 25, 2018 at 7:14 PM, Eric Dumazet wrote: > On Fri, 2018-01-26 at 02:09 +, Li,Rongqing wrote: > >> >> crash> bt 8683 >> PID: 8683 TASK: 881faa088000 CPU: 10 COMMAND: "mynode" >> #0 [881fff145e78] crash_nmi_callback at 81031712 >> #1 [881fff145e88] nmi_handl

答复: 答复: [PATCH] net: clean the sk_frag.page of new cloned socket

2018-01-25 Thread Li,Rongqing
> -邮件原件- > 发件人: Eric Dumazet [mailto:eric.duma...@gmail.com] > 发送时间: 2018年1月26日 11:14 > 收件人: Li,Rongqing ; netdev@vger.kernel.org > 抄送: eduma...@google.com > 主题: Re: 答复: [PATCH] net: clean the sk_frag.page of new cloned socket > > On Fri, 2018-01-26 at 02:09

答复: 答复: [PATCH] net: clean the sk_frag.page of new cloned socket

2018-01-25 Thread Li,Rongqing
> > my kernel is 3.10, I did not find the root cause, I guest all kind of > > possibility > > > > Have you backported 22a0e18eac7a9e986fec76c60fa4a2926d1291e2 ? > > When I see this bug, I find this commit, and backport it, But this seems to not related to my bug. > > > I would rather move th

Re: 答复: [PATCH] net: clean the sk_frag.page of new cloned socket

2018-01-25 Thread Eric Dumazet
On Fri, 2018-01-26 at 02:09 +, Li,Rongqing wrote: > > crash> bt 8683 > PID: 8683 TASK: 881faa088000 CPU: 10 COMMAND: "mynode" > #0 [881fff145e78] crash_nmi_callback at 81031712 > #1 [881fff145e88] nmi_handle at 816cafe9 > #2 [881fff145ec8] do_nmi at

Re: 答复: [PATCH] net: clean the sk_frag.page of new cloned socket

2018-01-25 Thread Eric Dumazet
On Fri, 2018-01-26 at 02:09 +, Li,Rongqing wrote: > > > if (newsk->sk_prot->sockets_allocated) > > > sk_sockets_allocated_inc(newsk); > > > > Good catch. > > > > I suspect this was discovered by some syzkaller/syzbot run ? > > > > > No. > > I am seeing a panic,

答复: [PATCH] net: clean the sk_frag.page of new cloned socket

2018-01-25 Thread Li,Rongqing
> > if (newsk->sk_prot->sockets_allocated) > > sk_sockets_allocated_inc(newsk); > > Good catch. > > I suspect this was discovered by some syzkaller/syzbot run ? > No. I am seeing a panic, a page is in both task.task_frag.page and buddy free list; It should no