aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 131c45f9337..4c0da24fb64 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -2455,8 +2455,10 @@ void tcp_get_info(struct sock *sk, struct tcp_info *info)
2455 info->tcpi_rcv_wscale = tp->rx_opt.rcv_wscale; 2455 info->tcpi_rcv_wscale = tp->rx_opt.rcv_wscale;
2456 } 2456 }
2457 2457
2458 if (tp->ecn_flags&TCP_ECN_OK) 2458 if (tp->ecn_flags & TCP_ECN_OK)
2459 info->tcpi_options |= TCPI_OPT_ECN; 2459 info->tcpi_options |= TCPI_OPT_ECN;
2460 if (tp->ecn_flags & TCP_ECN_SEEN)
2461 info->tcpi_options |= TCPI_OPT_ECN_SEEN;
2460 2462
2461 info->tcpi_rto = jiffies_to_usecs(icsk->icsk_rto); 2463 info->tcpi_rto = jiffies_to_usecs(icsk->icsk_rto);
2462 info->tcpi_ato = jiffies_to_usecs(icsk->icsk_ack.ato); 2464 info->tcpi_ato = jiffies_to_usecs(icsk->icsk_ack.ato);