diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-05-24 22:17:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-26 10:35:58 +0100 |
commit | 8a0d57df8938e9fd2e99d47a85b7f37d86f91097 (patch) | |
tree | f3580e647acbd306ee043c6cc59a2c1d7315a423 /tools/perf/scripts/python/task-analyzer.py | |
parent | aa866ee4b15162ef92a567512f85c4357ca8e97f (diff) |
tls: improve lockless access safety of tls_err_abort()
Most protos' poll() methods insert a memory barrier between
writes to sk_err and sk_error_report(). This dates back to
commit a4d258036ed9 ("tcp: Fix race in tcp_poll").
I guess we should do the same thing in TLS, tcp_poll() does
not hold the socket lock.
Fixes: 3c4d7559159b ("tls: kernel TLS support")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions