aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCiara Loftus <[email protected]>2021-03-31 06:12:16 +0000
committerAlexei Starovoitov <[email protected]>2021-04-01 14:45:43 -0700
commitdf662016310aa4475d7986fd726af45c8fe4f362 (patch)
tree7a4f2277ac3652140ed729fb215854dcecbd8fa9 /tools/perf/scripts/python/export-to-postgresql.py
parentd37300ed182131f1757895a62e556332857417e5 (diff)
libbpf: Ensure umem pointer is non-NULL before dereferencing
Calls to xsk_socket__create dereference the umem to access the fill_save and comp_save pointers. Make sure the umem is non-NULL before doing this. Fixes: 2f6324a3937f ("libbpf: Support shared umems between queues and devices") Signed-off-by: Ciara Loftus <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Magnus Karlsson <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions