diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-11-23 19:08:16 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-23 19:08:16 +0800 |
commit | 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf (patch) | |
tree | 776cd7cf3438913d6a10b4071c528307eb4db50c /net/mac80211 | |
parent | 88c07ddec8c5e06aa331470076af27a397fc0993 (diff) |
[TCP]: MTUprobe: receiver window & data available checks fixed
It seems that the checked range for receiver window check should
begin from the first rather than from the last skb that is going
to be included to the probe. And that can be achieved without
reference to skbs at all, snd_nxt and write_seq provides the
correct seqno already. Plus, it SHOULD account packets that are
necessary to trigger fast retransmit [RFC4821].
Location of snd_wnd < probe_size/size_needed check is bogus
because it will cause the other if() match as well (due to
snd_nxt >= snd_una invariant).
Removed dead obvious comment.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions