diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-14 10:34:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-16 00:30:15 +0200 |
commit | 0f6efff92524c65fc3ef41c8b936c526580f1db0 (patch) | |
tree | 147fe0ff12046cabcb3a4c39d07a751b79707ddb /net/ipv6/route.c | |
parent | net: remove skb_orphan_try() (diff) | |
download | linux-0f6efff92524c65fc3ef41c8b936c526580f1db0.tar.xz linux-0f6efff92524c65fc3ef41c8b936c526580f1db0.zip |
qlcnic: off by one in qlcnic_init_pci_info()
The adapter->npars[] array has QLCNIC_MAX_PCI_FUNC elements. We
allocate it that way a few lines earlier in the function. So this test
is off by one.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions