summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIgor Russkikh <igor.russkikh@aquantia.com>2018-05-07 15:10:39 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-08 06:06:44 +0200
commita09bd81b5413d1b4d705c6c5303b5d311069da22 (patch)
treead505327eef2bcdfe6e37361aaf1ea539d1bcf7a /samples
parentnet: aquantia: driver should correctly declare vlan_features bits (diff)
downloadlinux-a09bd81b5413d1b4d705c6c5303b5d311069da22.tar.xz
linux-a09bd81b5413d1b4d705c6c5303b5d311069da22.zip
net: aquantia: Limit number of vectors to actually allocated irqs
Driver should use pci_alloc_irq_vectors return value to correct number of allocated vectors and napi instances. Otherwise it'll panic later in pci_irq_vector. Driver also should allow more than one MSI vectors to be allocated. Error return path from pci_alloc_irq_vectors is also fixed to revert resources in a correct sequence when error happens. Reported-by: Long, Nicholas <nicholas.a.long@baesystems.com> Fixes: 23ee07a ("net: aquantia: Cleanup pci functions module") Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions