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

2021-10-21 Thread Medvedkin, Vladimir
Hi David, On 20/10/2021 21:55, David Marchand wrote: Hello Vladimir, On Fri, Oct 8, 2021 at 11:29 PM 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 pla

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

2021-10-20 Thread David Marchand
Hello Vladimir, On Fri, Oct 8, 2021 at 11:29 PM 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

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

2021-10-08 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