summaryrefslogtreecommitdiff
path: root/net/wireless/trace.c
diff options
context:
space:
mode:
authorHarsh Jain <harsh@chelsio.com>2017-01-27 16:09:06 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-03 18:09:31 +0800
commit7c2cf1c4615cc2f576d0604406cdf0065f00b83b (patch)
tree08407f9ebbdac1343473259b8d5099d6089527af /net/wireless/trace.c
parent0b529f143e8baad441a5aac9ad55ec2434d8fb46 (diff)
crypto: chcr - Fix key length for RFC4106
Check keylen before copying salt to avoid wrap around of Integer. Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/wireless/trace.c')
0 files changed, 0 insertions, 0 deletions
=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/dt-bindings/gpio/meson8b-gpio.h')