diff options
author | Jakub Kicinski <[email protected]> | 2019-11-27 12:16:39 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-28 22:40:29 -0800 |
commit | c329ef9684de9517d82af5b4758c9e1b64a8a11a (patch) | |
tree | a4f623037c5505b26a1a70e01786352308b6a5cd /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 81b6b96475ac7a4ebfceae9f16fb3758327adbfe (diff) |
net/tls: take into account that bpf_exec_tx_verdict() may free the record
bpf_exec_tx_verdict() may free the record if tls_push_record()
fails, or if the entire record got consumed by BPF. Re-check
ctx->open_rec before touching the data.
Fixes: d3b18ad31f93 ("tls: add bpf support to sk_msg handling")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: John Fastabend <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions