Re: panic: sbflush_locked

From: Alan Cox <alc_at_cs.rice.edu>
Date: Wed, 22 Dec 2004 14:34:35 -0600
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
Received on Wed Dec 22 2004 - 19:34:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:25 UTC