aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2023-02-23 08:38:00 +0000
committerThomas Gleixner <[email protected]>2023-02-23 14:52:28 +0000
commitad32ab9604f29827494024828f527228e84fbd2c (patch)
tree2c2b3e8cab12298572caed95571b1d067d2956a1 /tools/perf/scripts/python/netdev-times.py
parentMerge branch 'irq/core' into irq/urgent (diff)
downloadkernel-ad32ab9604f29827494024828f527228e84fbd2c.tar.gz
kernel-ad32ab9604f29827494024828f527228e84fbd2c.zip
irqdomain: Add missing NULL pointer check in irq_domain_create_hierarchy()
The recent switch to per-domain locking caused a NULL dereference in irq_domain_create_hierarchy(), as Xen code is calling msi_create_irq_domain() with a NULL parent pointer. Fix that by testing parent to be set before dereferencing it. For a non-existing parent the irqdomain's root will stay to point to itself. Fixes: 9dbb8e3452ab ("irqdomain: Switch to per-domain locking") Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions