aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <[email protected]>2012-05-17 20:51:53 +0000
committerRoland Dreier <[email protected]>2012-06-04 05:59:15 +0000
commit71b43fd573a60972b2175df4927c4ee10d757004 (patch)
tree405a41b627653697587b2286b362d40fad3e55d2 /tools/perf/util/trace-event-scripting.c
parentMerge tag 'rdma-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/rol... (diff)
downloadkernel-71b43fd573a60972b2175df4927c4ee10d757004.tar.gz
kernel-71b43fd573a60972b2175df4927c4ee10d757004.zip
RDMA/cxgb4: Fix crash when peer address is 0.0.0.0
When using rping -c -a 0.0.0.0 with iw_cxgb4, the system crashes when rdma_connect() is called. ip_dev_find() will return NULL, but pdev is accessed anyway. Checking that pdev is NULL and returning -ENODEV prevents the system from crashing. Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Acked-by: Steve Wise <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions