Re: svn commit: r339554 - head/sys/net

2018-10-23 Thread Andrey V. Elsukov
On 23.10.2018 07:17, Kristof Provost wrote: > I think I understand what’s happening here. > > With this patch I see a different panic: > > |diff --git a/sys/net/if_ipsec.c b/sys/net/if_ipsec.c index > 91b11a455b3..146cb59 100644 --- a/sys/net/if_ipsec.c +++ > b/sys/net/if_ipsec.c @@ -134,6 +1

Re: svn commit: r339554 - head/sys/net

2018-10-22 Thread Kristof Provost
On 22 Oct 2018, at 17:51, Kristof Provost wrote: On 21 Oct 2018, at 11:24, Andrey V. Elsukov wrote: Author: ae Date: Sun Oct 21 18:24:20 2018 New Revision: 339554 URL: https://svnweb.freebsd.org/changeset/base/339554 Log: Rework if_ipsec(4) to use epoch(9) instead of rmlock. * use CK_LIST

Re: svn commit: r339554 - head/sys/net

2018-10-22 Thread Kristof Provost
On 21 Oct 2018, at 11:24, Andrey V. Elsukov wrote: Author: ae Date: Sun Oct 21 18:24:20 2018 New Revision: 339554 URL: https://svnweb.freebsd.org/changeset/base/339554 Log: Rework if_ipsec(4) to use epoch(9) instead of rmlock. * use CK_LIST and FNV hash to keep chains of softc; * read acc

svn commit: r339554 - head/sys/net

2018-10-21 Thread Andrey V. Elsukov
Author: ae Date: Sun Oct 21 18:24:20 2018 New Revision: 339554 URL: https://svnweb.freebsd.org/changeset/base/339554 Log: Rework if_ipsec(4) to use epoch(9) instead of rmlock. * use CK_LIST and FNV hash to keep chains of softc; * read access to softc is protected by epoch(); * write acc