summaryrefslogtreecommitdiff
path: root/flowtop.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-15man: trafgen: Minor fixesTobias Klauser1-2/+2
2013-05-12flowtop: Use size of destination buffer in memcpyTobias Klauser1-1/+1
2013-03-19flowtop: Omit return value in flow_entry_get_sain{4,6}_obj()Tobias Klauser1-10/+6
2013-03-16flowtop: rcu: omit rcu_assign_pointerDaniel Borkmann1-4/+3
2013-03-16flowtop: close dir handle first before returning backDaniel Borkmann1-0/+1
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+1208
4b02d0a143'>030305d69fc6963c16003f50d7e8d74b02d0a143 (diff)
PCI/MSI: Don't apply affinity if there aren't enough vectors left
Bart reported a problem wіth an out of bounds access in the low-level IRQ affinity code, which we root caused to the qla2xxx driver assigning all its MSI-X vectors to the pre and post vectors, and not having any left for the actually spread IRQs. Fix this issue by not asking for affinity assignment when there are no vectors to assign left. Fixes: 402723ad5c62 ("PCI/MSI: Provide pci_alloc_irq_vectors_affinity()") Link: https://lkml.kernel.org/r/1485359225.3093.3.camel@sandisk.com Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> Tested-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/xen/interface/io/xenbus.h')