From: Eric Dumazet
Date: Thu, 16 Apr 2015 16:12:28 -0700
> From: Eric Dumazet
>
> tcp_get_info() can be called without holding socket lock,
> so any socket fields can change under us.
>
> Use READ_ONCE() to fetch sk_pacing_rate and sk_max_pacing_rate
>
> Fixes: 977cb0ecf82e ("tcp: add pacing_
From: Eric Dumazet
tcp_get_info() can be called without holding socket lock,
so any socket fields can change under us.
Use READ_ONCE() to fetch sk_pacing_rate and sk_max_pacing_rate
Fixes: 977cb0ecf82e ("tcp: add pacing_rate information into tcp_info")
Signed-off-by: Eric Dumazet
---
David, I