aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2018-04-03 15:33:01 -0700
committerJason Gunthorpe <[email protected]>2018-04-03 21:06:14 -0600
commit8435168d50e66fa5eae01852769d20a36f9e5e83 (patch)
treea721c193594199bf9b311d99761df90a00543996 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentca486a3b338ea0858104bab80d86475de3575966 (diff)
RDMA/ucma: Don't allow setting RDMA_OPTION_IB_PATH without an RDMA device
Check to make sure that ctx->cm_id->device is set before we use it. Otherwise userspace can trigger a NULL dereference by doing RDMA_USER_CM_CMD_SET_OPTION on an ID that is not bound to a device. Cc: <[email protected]> Reported-by: <[email protected]> Signed-off-by: Roland Dreier <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions