Re: [dpdk-dev] [PATCH v2] lpm: fix buffer overflow

2021-10-22 Thread Bruce Richardson
On Thu, Oct 21, 2021 at 06:15:49PM +0100, Vladimir Medvedkin wrote: > This patch fixes buffer overflow reported by ASAN, > please reference https://bugs.dpdk.org/show_bug.cgi?id=819 > > The rte_lpm6 keeps routing information for control plane purpose > inside the rte_hash table which uses rte_jhas

[dpdk-dev] [PATCH v2] lpm: fix buffer overflow

2021-10-21 Thread Vladimir Medvedkin
This patch fixes buffer overflow reported by ASAN, please reference https://bugs.dpdk.org/show_bug.cgi?id=819 The rte_lpm6 keeps routing information for control plane purpose inside the rte_hash table which uses rte_jhash() as a hash function. >From the rte_jhash() documentation: If input key is n