Revert "tcp: add rcv_wnd and plb_rehash to TCP_INFO"
This reverts commit a00aad3a04
.
This commit is contained in:
parent
7905b1f2d0
commit
b9f262b660
2 changed files with 0 additions and 7 deletions
|
@ -284,11 +284,6 @@ struct tcp_info {
|
|||
__u32 tcpi_snd_wnd; /* peer's advertised receive window after
|
||||
* scaling (bytes)
|
||||
*/
|
||||
__u32 tcpi_rcv_wnd; /* local advertised receive window after
|
||||
* scaling (bytes)
|
||||
*/
|
||||
|
||||
__u32 tcpi_rehash; /* PLB or timeout triggered rehash attempts */
|
||||
};
|
||||
|
||||
/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */
|
||||
|
|
|
@ -3620,8 +3620,6 @@ void tcp_get_info(struct sock *sk, struct tcp_info *info)
|
|||
info->tcpi_reord_seen = tp->reord_seen;
|
||||
info->tcpi_rcv_ooopack = tp->rcv_ooopack;
|
||||
info->tcpi_snd_wnd = tp->snd_wnd;
|
||||
info->tcpi_rcv_wnd = tp->rcv_wnd;
|
||||
info->tcpi_rehash = tp->plb_rehash + tp->timeout_rehash;
|
||||
info->tcpi_fastopen_client_fail = tp->fastopen_client_fail;
|
||||
unlock_sock_fast(sk, slow);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue