summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2014-08-17 16:47:47 +0300
committerDavid S. Miller <davem@davemloft.net>2014-08-22 12:31:16 -0700
commite261199872a232beb6541c7dc6af2af0de840a27 (patch)
treece7eeeb0770694a9c05e5f23c293b0e4fbb57032 /tools/perf/scripts/python/syscall-counts.py
parent626041248d3fb5b2fca5c9af172f00fa3bb6dcfe (diff)
bnx2x: Safe bnx2x_panic_dump()
The bnx2x panic dump spills a lot of information from the driver's fastpath, but may be called while some of the fastpath is uninitialized. This patch verifies that pointers are already allocated before dereferencing them to prevent possible kernel panics. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions