diff options
| author | Florian Fainelli <[email protected]> | 2014-05-28 17:39:02 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2014-06-04 09:46:01 +0000 |
| commit | 43cb43678705e39b175b325f17938295996aefc7 (patch) | |
| tree | 0c238470709c70f60714245816e6437efb0cdef1 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | of/irq: provide more wrappers for !CONFIG_OF (diff) | |
| download | kernel-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
