Divert socket problem (was: Re: svn commit: r222488 - in head/sys: contrib/pf/net netinet netinet/ipfw netinet6)

Robert N. M. Watson rwatson at FreeBSD.org
Sat Jun 4 14:54:32 UTC 2011


On 4 Jun 2011, at 15:30, Kristof Provost wrote:

> div_bind probably also needs to surround the call to in_pcbbind with
> INP_HASHW(UN)LOCK(...)
> 
> I'm currently running 222680. I've only now seen the issue, but I've also
> just now activated INVARIANTS.

Hi Kristof:

Thanks for the detailed report, and yes, it looks like that is exactly what is required. Could you try the attached patch?

Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20110604-divert-fix.diff
Type: application/octet-stream
Size: 1354 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20110604/fb005bf8/20110604-divert-fix.obj


More information about the svn-src-head mailing list