aboutsummaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-11-23 19:10:56 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2007-11-23 19:10:56 +0800
commit7f9c33e515353ea91afc62341161fead19e78567 (patch)
tree3491ab469f790f6c5538de6e24e93c7bbe6a84b1 /net/key
parent91cc17c0e5e5ada156a8d5787a2509d263ea6bbf (diff)
downloadkernel_samsung_aries-7f9c33e515353ea91afc62341161fead19e78567.zip
kernel_samsung_aries-7f9c33e515353ea91afc62341161fead19e78567.tar.gz
kernel_samsung_aries-7f9c33e515353ea91afc62341161fead19e78567.tar.bz2
[TCP] MTUprobe: Cleanup send queue check (no need to loop)
The original code has striking complexity to perform a query which can be reduced to a very simple compare. FIN seqno may be included to write_seq but it should not make any significant difference here compared to skb->len which was used previously. One won't end up there with SYN still queued. Use of write_seq check guarantees that there's a valid skb in send_head so I removed the extra check. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Acked-by: John Heffner <jheffner@psc.edu> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions