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 1dd25189d83f..68375f7ffdce 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -3225,7 +3225,7 @@ void tcp_get_info(struct sock *sk, struct tcp_info *info)  		 * tcpi_unacked -> Number of children ready for accept()  		 * tcpi_sacked  -> max backlog  		 */ -		info->tcpi_unacked = sk->sk_ack_backlog; +		info->tcpi_unacked = READ_ONCE(sk->sk_ack_backlog);  		info->tcpi_sacked = sk->sk_max_ack_backlog;  		return;  	}  | 
