summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2017-04-26 20:07:35 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-01 05:24:16 +0300
commitd68be71ea14d609a5f31534003319be5db422595 (patch)
tree275aa6efd067897bd1c2e518ac66849d4b386269 /tools/perf/scripts/python/call-graph-from-sql.py
parentd1f496fd8f34a40458d0eda6be0655926559e546 (diff)
downloadlinux-d68be71ea14d609a5f31534003319be5db422595.tar.xz
tcp: fix access to sk->sk_state in tcp_poll()
avoid direct access to sk->sk_state when tcp_poll() is called on a socket using active TCP fastopen with deferred connect. Use local variable 'state', which stores the result of sk_state_load(), like it was done in commit 00fd38d938db ("tcp: ensure proper barriers in lockless contexts"). Fixes: 19f6d3f3c842 ("net/tcp-fastopen: Add new API support") Signed-off-by: Davide Caratti <dcaratti@redhat.com> Acked-by: Wei Wang <weiwan@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions