On Tue, 2017-01-24 at 21:49 -0500, Jason Baron wrote:
> From: Jason Baron <jba...@akamai.com>
> 
> sock_reset_flag() maps to __clear_bit() not the atomic version clear_bit().
> Thus, we need smp_mb(), smp_mb__after_atomic() is not sufficient.
> 
> Fixes: 3c7151275c0c ("tcp: add memory barriers to write space paths")
> Cc: Eric Dumazet <eric.duma...@gmail.com>
> Cc: Oleg Nesterov <o...@redhat.com>
> Signed-off-by: Jason Baron <jba...@akamai.com>
> ---
>  net/ipv4/tcp_input.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Eric Dumazet <eduma...@google.com>

I believe this would need also this for proper attribution.

Reported-by: Oleg Nesterov <o...@redhat.com>


Reply via email to