diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2004-10-25 06:57:45 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-10-25 06:57:45 -0700 |
| commit | f335c143218df5b29b9d55211e6a6141ce1b67fd (patch) | |
| tree | 5da2bff36931adb6e2f8ea83d76cb47bdc7804ac /include/net | |
| parent | 7515caf10ea7ef7d433d50a213769225f44d8180 (diff) | |
[TCP]: Handle real partial-ACKs of TSO frames correctly.
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.
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?
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
