aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-10-18 19:39:28 +0100
committerDoug Ledford <dledford@redhat.com>2016-12-14 11:18:17 -0500
commitea7ef2accdeaf825165cccd60b848765677bf1f2 (patch)
tree00e3f2b88b75a93163d337e002759dce98563bea /tools/perf/scripts/python/export-to-postgresql.py
parentnet/mlx5e: Add tc support for FWD rule with counter (diff)
downloadwireguard-linux-ea7ef2accdeaf825165cccd60b848765677bf1f2.tar.xz
wireguard-linux-ea7ef2accdeaf825165cccd60b848765677bf1f2.zip
qedr: return -EINVAL if pd is null and avoid null ptr dereference
Currently, if pd is null then we hit a null pointer derference on accessing pd->pd_id. Instead of just printing an error message we should also return -EINVAL immediately. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions