diff options
author | 2022-07-17 16:09:10 +0000 | |
---|---|---|
committer | 2022-07-19 12:37:02 +0200 | |
commit | 989918482bbccbbce3ba2bb9156eb4c193319983 (patch) | |
tree | d72a7cab33d8f32669ef818050495e242855102a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | amt: drop unexpected multicast data (diff) | |
download | linux-dev-989918482bbccbbce3ba2bb9156eb4c193319983.tar.xz linux-dev-989918482bbccbbce3ba2bb9156eb4c193319983.zip |
amt: do not use amt->nr_tunnels outside of lock
amt->nr_tunnels is protected by amt->lock.
But, amt_request_handler() has been using this variable without the
amt->lock.
So, it expands context of amt->lock in the amt_request_handler() to
protect amt->nr_tunnels variable.
Fixes: cbc21dc1cfe9 ("amt: add data plane of amt interface")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions