panic: sbflush_locked

Alan Cox alc at cs.rice.edu
Wed Dec 22 12:34:38 PST 2004


On Wed, Dec 22, 2004 at 08:55:31AM +0000, Robert Watson wrote:
> 
> On Mon, 20 Dec 2004, Alan Cox wrote:
> 
> > > I haven't seen this in a very long time, but I've definitely tried to
> > > track it down before with zero luck.
> > 
> > With the attached change, I've had no more crashes. 
> > 
> > I speculate uipc_send() is missing needed synchronization on so_snd. 
> > Robert, can you verify the patch? 
> 
> Sorry for the delay in responding to your original post; I'm still
> catching up with e-mail from my trip to Bangladesh.  I actually had
> similar changes to this in the netperf branch at one point, but think I
> removed them due to concerns about lock order.  However, this change is
> careful to acquire the send lock before the receive lock, so I think
> shouldn't present a problem from that perspective.  Please go ahead and
> commit, perhaps with a 2 week MFC time? 

I just committed the patch.  Thanks for the review.

Alan


More information about the freebsd-current mailing list