| To: | Phil Oester <kernel@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: 2.6.9 failed assertion in tcp_timer.c |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 23 Oct 2004 09:24:03 +1000 |
| Cc: | linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx> |
| In-reply-to: | <20041022215040.GA13309@gondor.apana.org.au> |
| References: | <20041019215054.GA17565@linuxace.com> <E1CK3Az-0004P2-00@gondolin.me.apana.org.au> <20041020164748.GA20905@linuxace.com> <20041020212651.GA8534@gondor.apana.org.au> <20041020225536.GA22179@linuxace.com> <20041021130339.GA19345@gondor.apana.org.au> <20041021165224.GA25399@linuxace.com> <20041021215743.GA23062@gondor.apana.org.au> <20041022185435.GA30709@linuxace.com> <20041022215040.GA13309@gondor.apana.org.au> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
On Sat, Oct 23, 2004 at 07:50:40AM +1000, herbert wrote: > > So we don't really know whether it went further or not :) Actually, I think we've caught your crash now. If that code path is triggering at all, then it'll trigger with TSO packets too. If we get a truly partial ack on a TSO packet, then tcp_tso_acked will not trim it off. So we will fall through to this last-ditch trim call, which doesn't update packets_out. There are two solutions to this problem. I've taken the simpler approach for now. We simply trim off the partial bits in tcp_tso_acked and live with the fact that the packet counters may differ from what's on the netwrok by one. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Later on we can "fix" this by remembering where the original TSO packet started from, perhaps in skb->h or somewhere. Dave, is this worth it? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Allowing netlink_family to be any integer (was: [PATCH 2.6] iptables CLUSTERIP target), Herbert Xu |
|---|---|
| Next by Date: | Re: [PATCH 2.6.9] address family not supported for sendmsg(), Suresh Krishnan |
| Previous by Thread: | Re: 2.6.9 failed assertion in tcp_timer.c, David S. Miller |
| Next by Thread: | Re: 2.6.9 failed assertion in tcp_timer.c, Phil Oester |
| Indexes: | [Date] [Thread] [Top] [All Lists] |