summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCosmin Ratiu <cratiu@nvidia.com>2025-05-08 11:44:34 +0300
committerJakub Kicinski <kuba@kernel.org>2025-05-10 01:05:07 +0300
commit97c4e094a4b2edbb4fffeda718f8e806f825a18f (patch)
tree00dc94c067418edfff80fce58eddb4e96d22a790 /tools/perf/scripts/python/export-to-postgresql.py
parentf11cf946c0a92c560a890d68e4775723353599e1 (diff)
downloadlinux-97c4e094a4b2edbb4fffeda718f8e806f825a18f.tar.xz
tests/ncdevmem: Fix double-free of queue array
netdev_bind_rx takes ownership of the queue array passed as parameter and frees it, so a queue array buffer cannot be reused across multiple netdev_bind_rx calls. This commit fixes that by always passing in a newly created queue array to all netdev_bind_rx calls in ncdevmem. Fixes: 85585b4bc8d8 ("selftests: add ncdevmem, netcat for devmem TCP") Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Acked-by: Stanislav Fomichev <sdf@fomichev.me> Reviewed-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20250508084434.1933069-1-cratiu@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions