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 7e740112b238..aff31427f525 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2014,7 +2014,7 @@ void tcp_get_info(struct sock *sk, struct tcp_info *info) | |||
2014 | 2014 | ||
2015 | if (tp->rx_opt.tstamp_ok) | 2015 | if (tp->rx_opt.tstamp_ok) |
2016 | info->tcpi_options |= TCPI_OPT_TIMESTAMPS; | 2016 | info->tcpi_options |= TCPI_OPT_TIMESTAMPS; |
2017 | if (tp->rx_opt.sack_ok) | 2017 | if (tcp_is_sack(tp)) |
2018 | info->tcpi_options |= TCPI_OPT_SACK; | 2018 | info->tcpi_options |= TCPI_OPT_SACK; |
2019 | if (tp->rx_opt.wscale_ok) { | 2019 | if (tp->rx_opt.wscale_ok) { |
2020 | info->tcpi_options |= TCPI_OPT_WSCALE; | 2020 | info->tcpi_options |= TCPI_OPT_WSCALE; |