Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-09 Thread Mikolaj Golub
On Wed, 9 Nov 2011 08:27:16 -0500 Robert N. M. Watson wrote: RNMW> On 6 Nov 2011, at 05:51, Mikolaj Golub wrote: >> On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: >> >> MG> Author: trociny >> MG> Date: Sun Nov 6 10:47:20 2011 >> MG> New Revision: 227207 >> MG> URL: http://

Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-09 Thread Robert N. M. Watson
On 6 Nov 2011, at 05:51, Mikolaj Golub wrote: > On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: > > MG> Author: trociny > MG> Date: Sun Nov 6 10:47:20 2011 > MG> New Revision: 227207 > MG> URL: http://svn.freebsd.org/changeset/base/227207 > > MG> Log: > MG> Cache SO_REUSEPORT so

Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-06 Thread Mikolaj Golub
On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: MG> Author: trociny MG> Date: Sun Nov 6 10:47:20 2011 MG> New Revision: 227207 MG> URL: http://svn.freebsd.org/changeset/base/227207 MG> Log: MG> Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid MG> inp_soc

svn commit: r227207 - in head/sys: netinet netinet6

2011-11-06 Thread Mikolaj Golub
Author: trociny Date: Sun Nov 6 10:47:20 2011 New Revision: 227207 URL: http://svn.freebsd.org/changeset/base/227207 Log: Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid inp_socket->so_options dereference when we may not acquire the lock on the inpcb. This fixes the c