projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3c3a9
)
[TCP]: Don't apply FIN exception to full TSO segments.
author
John Heffner
<jheffner@psc.edu>
Tue, 6 Feb 2007 01:53:11 +0000
(17:53 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:38:51 +0000
(12:38 -0800)
Signed-off-by: John Heffner <jheffner@psc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_output.c
b/net/ipv4/tcp_output.c
index 975f4472af29c750daec8a0ae02c0e958a578929..58b7111523f4a4540fbc9833347565e41d13b979 100644
(file)
--- a/
net/ipv4/tcp_output.c
+++ b/
net/ipv4/tcp_output.c
@@
-965,7
+965,8
@@
static inline unsigned int tcp_cwnd_test(struct tcp_sock *tp, struct sk_buff *sk
u32 in_flight, cwnd;
/* Don't be strict about the congestion window for the final FIN. */
- if (TCP_SKB_CB(skb)->flags & TCPCB_FLAG_FIN)
+ if ((TCP_SKB_CB(skb)->flags & TCPCB_FLAG_FIN) &&
+ tcp_skb_pcount(skb) == 1)
return 1;
in_flight = tcp_packets_in_flight(tp);