On Wed, Nov 1, 2017 at 9:55 AM, Lucas Bates <luc...@mojatatu.com> wrote: > On Tue, Oct 31, 2017 at 7:02 PM, Cong Wang <xiyou.wangc...@gmail.com> wrote: >> On Tue, Oct 31, 2017 at 3:09 PM, Cong Wang <xiyou.wangc...@gmail.com> wrote: >>> >>> This almost rules out the guilty of this patchset. >>> >>> I will provide a patch for you to test, since I can't reproduce it here. >>> >> >> Lucas, please test the attached patch, it applies to latest -net. >> >> Note, it is a combination of 3 patches which together close the >> use-after-free you reported here, I hope. >> >> Please let me know if this works. My basic tests run well without >> any stack traces or memory leaks. > > The results look good to me. > > I compiled with the patch and ran the test again in a loop. I set it > to run 50 times in a row and didn't trigger the bug once (previous > record was 4 times).
Thanks a lot! I will add your Reported-by and Tested-by and send out the patches.