* [dpdk-stable] [PATCH v1] regex/octeontx2: fix global variable overflow
@ 2021-01-03 11:01 guyk
2021-01-07 20:25 ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: guyk @ 2021-01-03 11:01 UTC (permalink / raw)
To: thomas; +Cc: zhihongx.peng, guyk, dovrat, dev, stable
From: Guy Kaneti <guyk@marvell.com>
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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/regex/octeontx2/otx2_regexdev.c b/drivers/regex/octeontx2/otx2_regexdev.c
index 39eed7a20..b6e55853e 100644
--- 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 = {
--
2.28.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH v1] regex/octeontx2: fix global variable overflow
2021-01-03 11:01 [dpdk-stable] [PATCH v1] regex/octeontx2: fix global variable overflow guyk
@ 2021-01-07 20:25 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2021-01-07 20:25 UTC (permalink / raw)
To: guyk; +Cc: zhihongx.peng, guyk, dovrat, dev, stable
03/01/2021 12:01, guyk@marvell.com:
> From: Guy Kaneti <guyk@marvell.com>
>
> 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>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-07 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 11:01 [dpdk-stable] [PATCH v1] regex/octeontx2: fix global variable overflow guyk
2021-01-07 20:25 ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).