Searched hist:"7 f9c33e515353ea91afc62341161fead19e78567" (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | tcp_output.c | diff 7f9c33e515353ea91afc62341161fead19e78567 Fri Nov 23 12:10:56 CET 2007 Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> [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>
|