summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorQingfang Deng <qingfang.deng@linux.dev>2026-07-24 09:49:26 +0800
committerAntonio Quartulli <antonio@openvpn.net>2026-07-30 11:28:30 +0200
commit26ba17d845193dac4921ae1ab280d28d1938052e (patch)
treeca0f713bb83830ad1470ad072d28af28bd9dc22d /tools/perf/scripts/python/export-to-postgresql.py
parent4680c0ebd958fc18e53c8b91d80436b236a8fc09 (diff)
ovpn: fix incorrect use of rcu_access_pointer()
rcu_access_pointer() should only be used to test the value of a pointer, not to dereference it. As it's in a spin_lock_bh() critical section, use rcu_dereference_bh() instead, avoiding an extra rcu_read_lock(). Fixes: f6226ae7a0cd ("ovpn: introduce the ovpn_socket object") Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev> Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions