lkml.org 
[lkml]   [2007]   [Sep]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 8 Sep 2007 11:37:46 +0200
FromFD Cami <>
SubjectRe: Hang in 2.6.23-rc5
On Mon, 3 Sep 2007 04:15:01 +0530 (IST)
Satyam Sharma <satyam@infradead.org> wrote:

> On Mon, 3 Sep 2007, Alexey Dobriyan wrote:
> > 
> > Try this from net-2.6 tree:
> > 
> > --- a/net/ipv4/tcp_input.c
> > +++ b/net/ipv4/tcp_input.c
> > @@ -560,7 +560,7 @@ static u32 tcp_rto_min(struct sock *sk)
> >  	struct dst_entry *dst = __sk_dst_get(sk);
> >  	u32 rto_min = TCP_RTO_MIN;
> > 
> > -	if (dst_metric_locked(dst, RTAX_RTO_MIN))
> > +	if (dst && dst_metric_locked(dst, RTAX_RTO_MIN))
> >  		rto_min = dst->metrics[RTAX_RTO_MIN-1];
> >  	return rto_min;
> >  }
> 
> That's my impression as well. That's way too core/busy a codepath to
> have a bug in. As I said earlier, almost anybody testing -rc5 is sure
> to hit this within a few hours (probably less) -- sad, it greatly
> erodes from the usefulness of -rc5 as a release candidate.

For the record, I haven't been able to reproduce the lockup with this
patch.

Cheers

François
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-08 11:37    [from the cache]
©2003-2008