aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2014-05-28 17:39:02 +0000
committerRob Herring <[email protected]>2014-06-04 09:46:01 +0000
commit43cb43678705e39b175b325f17938295996aefc7 (patch)
tree0c238470709c70f60714245816e6437efb0cdef1 /tools/perf/scripts/python/net_dropmonitor.py
parentof/irq: provide more wrappers for !CONFIG_OF (diff)
downloadkernel-43cb43678705e39b175b325f17938295996aefc7.tar.gz
kernel-43cb43678705e39b175b325f17938295996aefc7.zip
of: handle NULL node in next_child iterators
Add an early check for the node argument in __of_get_next_child and of_get_next_available_child() to avoid dereferencing a NULL node pointer a few lines after. CC: Daniel Mack <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions