Revert "tcp: export TCPI_OPT_ECN_LOW in tcp_info tcpi_options field"
This reverts commit 62a04f2316
.
This commit is contained in:
parent
bfea72055d
commit
c2cfa39ed7
2 changed files with 0 additions and 3 deletions
|
@ -170,7 +170,6 @@ enum tcp_fastopen_client_fail {
|
||||||
#define TCPI_OPT_ECN 8 /* ECN was negociated at TCP session init */
|
#define TCPI_OPT_ECN 8 /* ECN was negociated at TCP session init */
|
||||||
#define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
|
#define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
|
||||||
#define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
|
#define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
|
||||||
#define TCPI_OPT_ECN_LOW 64 /* Low-latency ECN configured at init */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sender's congestion state indicating normal or abnormal situations
|
* Sender's congestion state indicating normal or abnormal situations
|
||||||
|
|
|
@ -3566,8 +3566,6 @@ void tcp_get_info(struct sock *sk, struct tcp_info *info)
|
||||||
info->tcpi_options |= TCPI_OPT_ECN;
|
info->tcpi_options |= TCPI_OPT_ECN;
|
||||||
if (tp->ecn_flags & TCP_ECN_SEEN)
|
if (tp->ecn_flags & TCP_ECN_SEEN)
|
||||||
info->tcpi_options |= TCPI_OPT_ECN_SEEN;
|
info->tcpi_options |= TCPI_OPT_ECN_SEEN;
|
||||||
if (tp->ecn_flags & TCP_ECN_LOW)
|
|
||||||
info->tcpi_options |= TCPI_OPT_ECN_LOW;
|
|
||||||
if (tp->syn_data_acked)
|
if (tp->syn_data_acked)
|
||||||
info->tcpi_options |= TCPI_OPT_SYN_DATA;
|
info->tcpi_options |= TCPI_OPT_SYN_DATA;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue