panic: Lock so_rcv_sx not exclusively locked

Jos Backus jos at
Wed Jan 30 16:42:14 PST 2008

On Wed, Jan 30, 2008 at 01:45:08PM +0000, Robert Watson wrote:
> Thanks, looks like that's enough for now.  I've attached a patch, could you 
> let me know if it works?  There turned out to be a number of issues here, 
> not least the possibility of an inter-thread deadlock if the blocked socket 
> read was never going to return, so if you could watch out for processes 
> failing to exit, not just panics, that would be good.  I've CC'd Randall as 
> this change touches SCTP in a few places.

After applying this patch I can no longer panic the system by killing
npviewer.bin. Firefox feels more responsive, too.

Thanks, Robert!

Jos Backus
jos at

More information about the freebsd-current mailing list