diff options
author | Jakub Kicinski <[email protected]> | 2024-02-06 17:18:20 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-10 21:38:19 +0000 |
commit | e01e3934a1b2d122919f73bc6ddbe1cdafc4bbdb (patch) | |
tree | 037591b7e2e7a07d702479b0205d382739e8f839 /tools/perf/scripts/python | |
parent | aec7961916f3f9e88766e2688992da6980f11b8d (diff) |
tls: fix race between tx work scheduling and socket close
Similarly to previous commit, the submitting thread (recvmsg/sendmsg)
may exit as soon as the async crypto handler calls complete().
Reorder scheduling the work before calling complete().
This seems more logical in the first place, as it's
the inverse order of what the submitting thread will do.
Reported-by: valis <[email protected]>
Fixes: a42055e8d2c3 ("net/tls: Add support for async encryption of records for performance")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions