diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 0db9f3b984f7..1c4d42ff72bd 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -689,7 +689,7 @@ static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now, | |||
689 | } | 689 | } |
690 | } | 690 | } |
691 | 691 | ||
692 | return xmit_size_goal; | 692 | return max(xmit_size_goal, mss_now); |
693 | } | 693 | } |
694 | 694 | ||
695 | static int tcp_send_mss(struct sock *sk, int *size_goal, int flags) | 695 | static int tcp_send_mss(struct sock *sk, int *size_goal, int flags) |