summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Baron <jbaron@akamai.com>2017-01-24 21:49:41 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-25 13:23:36 -0500
commit56d806222ace4c3aeae516cd7a855340fb2839d8 (patch)
tree3f47042bfc3d9fec74addd06837e37ae3c91eb5d /include
parent5207f3996338e1db71363fe381c81aaf1e54e4e3 (diff)
tcp: correct memory barrier usage in tcp_check_space()
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.dumazet@gmail.com> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Jason Baron <jbaron@akamai.com> Acked-by: Eric Dumazet <edumazet@google.com> Reported-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions