aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDaniel Jurgens <[email protected]>2017-11-07 18:33:26 +0200
committerDoug Ledford <[email protected]>2017-11-13 16:24:17 -0500
commit877add28178a7fa3c68f29c450d050a8e6513f08 (patch)
tree0c01c0415cfddae8e0e8bc59da8f2a64c8754f9a /tools/perf/scripts/python/call-graph-from-sql.py
parentf4e96c1a717176dc52843a41b549aaa9128279c2 (diff)
IB/core: Only maintain real QPs in the security lists
When modify QP is called on a shared QP update the security context for the real QP. When security is subsequently enforced the shared QP handles will be checked as well. Without this change shared QP handles get added to the port/pkey lists, which is a bug, because not all shared QP handles will be checked for access. Also the shared QP security context wouldn't get removed from the port/pkey lists causing access to free memory and list corruption when they are destroyed. Cc: [email protected] Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs") Signed-off-by: Daniel Jurgens <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions