git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97544f8
)
regex/octeontx2: fix PCI table overflow
author
Guy Kaneti
<guyk@marvell.com>
Sun, 3 Jan 2021 11:01:28 +0000
(13:01 +0200)
committer
Thomas Monjalon
<thomas@monjalon.net>
Thu, 7 Jan 2021 20:25:21 +0000
(21:25 +0100)
Sentinel was missing from pci_id_ree_table[] array initialization
which caused it to overflow.
Bugzilla ID: 603
Fixes:
4cd1c5fd9
("regex/octeontx2: introduce REE driver")
Cc: stable@dpdk.org
Signed-off-by: Guy Kaneti <guyk@marvell.com>
drivers/regex/octeontx2/otx2_regexdev.c
patch
|
blob
|
history
diff --git
a/drivers/regex/octeontx2/otx2_regexdev.c
b/drivers/regex/octeontx2/otx2_regexdev.c
index
39eed7a
..
b6e5585
100644
(file)
--- a/
drivers/regex/octeontx2/otx2_regexdev.c
+++ b/
drivers/regex/octeontx2/otx2_regexdev.c
@@
-988,6
+988,9
@@
static struct rte_pci_id pci_id_ree_table[] = {
RTE_PCI_DEVICE(PCI_VENDOR_ID_CAVIUM,
PCI_DEVID_OCTEONTX2_RVU_REE_PF)
},
+ {
+ .vendor_id = 0,
+ }
};
static struct rte_pci_driver otx2_regexdev_pmd = {