diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index f018892c6a98..aab6e7145013 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -1758,7 +1758,8 @@ static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now) | |||
1758 | u32 tso_segs = ca_ops->tso_segs_goal ? ca_ops->tso_segs_goal(sk) : 0; | 1758 | u32 tso_segs = ca_ops->tso_segs_goal ? ca_ops->tso_segs_goal(sk) : 0; |
1759 | 1759 | ||
1760 | return tso_segs ? : | 1760 | return tso_segs ? : |
1761 | tcp_tso_autosize(sk, mss_now, sysctl_tcp_min_tso_segs); | 1761 | tcp_tso_autosize(sk, mss_now, |
1762 | sock_net(sk)->ipv4.sysctl_tcp_min_tso_segs); | ||
1762 | } | 1763 | } |
1763 | 1764 | ||
1764 | /* Returns the portion of skb which can be sent right away */ | 1765 | /* Returns the portion of skb which can be sent right away */ |