Re: svn commit: r208876 - head/sys/netinet

2010-06-08 Thread Robert Watson
On Mon, 7 Jun 2010, Pawel Jakub Dawidek wrote: 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. [...] + if (mtx_owned(inp-inp_create_mtx)) { + panic(Own create lock on inp); + } + if

Re: svn commit: r208876 - head/sys/netinet

2010-06-07 Thread Pawel Jakub Dawidek
On Sun, Jun 06, 2010 at 04:11:17PM +, Randall Stewart wrote: Author: rrs Date: Sun Jun 6 16:11:16 2010 New Revision: 208876 URL: http://svn.freebsd.org/changeset/base/208876 Log: 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and

Re: svn commit: r208876 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Cool... I will move these over to that assert... And the invariant is ok since this function only is there when you compile invariant in. R On Jun 7, 2010, at 1:07 PM, Pawel Jakub Dawidek wrote: On Sun, Jun 06, 2010 at 04:11:17PM +, Randall Stewart wrote: Author: rrs Date: Sun Jun 6

svn commit: r208876 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 16:11:16 2010 New Revision: 208876 URL: http://svn.freebsd.org/changeset/base/208876 Log: 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. 2) Fix a bug in that when a socket is closed an