aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-13 10:45:48 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-20 11:20:49 -0400
commit5c8857b653e71a9850a02837e1268e3198abbd1a (patch)
treedd3479ff4bcc74152fb5ade330fa4e062467fe53 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentRDMA/bnxt_re: checking for NULL instead of IS_ERR() (diff)
downloadwireguard-linux-5c8857b653e71a9850a02837e1268e3198abbd1a.tar.xz
wireguard-linux-5c8857b653e71a9850a02837e1268e3198abbd1a.zip
IB/IPoIB: Fix error code in ipoib_add_port()
We accidentally don't see the error code on some of these error paths. It means we return ERR_PTR(0) which is NULL and it results in a NULL dereference in the caller. This bug dates to pre-git days. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions