aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2025-03-26 12:05:35 +0000
committerThomas Gleixner <[email protected]>2025-03-26 14:28:43 +0000
commit3ece3e8e5976c49c3f887e5923f998eabd54ff40 (patch)
treefd73e37f36bb6854e79656acdd76d9ae99d4737a /net/unix/unix_bpf.c
parentMerge tag 'for-linus-6.15-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadkernel-3ece3e8e5976c49c3f887e5923f998eabd54ff40.tar.gz
kernel-3ece3e8e5976c49c3f887e5923f998eabd54ff40.zip
PCI/MSI: Handle the NOMASK flag correctly for all PCI/MSI backends
The conversion of the XEN specific global variable pci_msi_ignore_mask to a MSI domain flag, missed the facts that: 1) Legacy architectures do not provide a interrupt domain 2) Parent MSI domains do not necessarily have a domain info attached Both cases result in an unconditional NULL pointer dereference. This was unfortunatly missed in review and testing revealed it late. Cure this by using the existing pci_msi_domain_supports() helper, which handles all possible cases correctly. Fixes: c3164d2e0d18 ("PCI/MSI: Convert pci_msi_ignore_mask to per MSI domain flag") Reported-by: Daniel Gomez <[email protected]> Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Tested-by: Borislav Petkov <[email protected]> Tested-by: Daniel Gomez <[email protected]> Link: https://lore.kernel.org/all/87iknwyp2o.ffs@tglx Closes: https://lore.kernel.org/all/qn7fzggcj6qe6r6gdbwcz23pzdz2jx64aldccmsuheabhmjgrt@tawf5nfwuvw7
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions