aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2016-07-28 15:21:12 -0400
committerDoug Ledford <[email protected]>2016-08-02 22:46:21 -0400
commit53445bb32d244b1b32e8d88346a551130fb35544 (patch)
treed693acb239cf1e977333da876a912c38ed16943f /tools/perf/scripts/python/net_dropmonitor.py
parenta7cd2dc5d494e92871e7b6734b72ef5451ff026d (diff)
IB/hfi1: Prevent null pointer dereference
If a context has not been assigned or assignment failed, pq may be NULL. Move the unregister within the protection of the null check. Reviewed-by: Dean Luick <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions