>-----Original Message----- >From: Dharmik Thakkar [mailto:[email protected]] >Sent: Thursday, May 9, 2019 10:19 AM >To: Wang, Yipeng1 <[email protected]>; Gobriel, Sameh ><[email protected]>; Richardson, Bruce ><[email protected]>; De Lara Guarch, Pablo ><[email protected]> >Cc: [email protected]; [email protected]; [email protected]; >Dharmik Thakkar <[email protected]>; >[email protected] >Subject: [PATCH v4 2/3] hash: fix total entries in free key with position > >In rte_hash, with current implementation, it is possible that keys >are stored at indexes greater than the number of total entries. > >Currently, in rte_hash_free_key_with_position(), due to incorrect >computation of total_entries, application cannot free keys with >indexes greater than the number of total entries. > >This patch fixes this incorrect computation of total_entries. > >Bugzilla ID: 261 >Fixes: 9d033dac7d7c ("hash: support no free on delete") >Cc: [email protected] >Cc: [email protected] > >Reported-by: Linfan <[email protected]> >Suggested-by: Linfan <[email protected]> >Signed-off-by: Dharmik Thakkar <[email protected]> Acked-by: Yipeng Wang <[email protected]>
- Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/2] h... Thomas Monjalon
- Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/... Dharmik Thakkar
- [dpdk-dev] [PATCH v3 0/3] hash: fix bugs in 'free key with... Dharmik Thakkar
- [dpdk-dev] [PATCH v3 1/3] hash: fix position bug in '... Dharmik Thakkar
- Re: [dpdk-dev] [PATCH v3 1/3] hash: fix position ... Wang, Yipeng1
- Re: [dpdk-dev] [PATCH v3 1/3] hash: fix posit... Dharmik Thakkar
- [dpdk-dev] [PATCH v3 2/3] hash: fix total entries in ... Dharmik Thakkar
- [dpdk-dev] [PATCH v3 3/3] test/hash: add test for 'fr... Dharmik Thakkar
- [dpdk-dev] [PATCH v4 0/3] hash: fix bugs in 'free key... Dharmik Thakkar
- [dpdk-dev] [PATCH v4 2/3] hash: fix total entries... Dharmik Thakkar
- Re: [dpdk-dev] [PATCH v4 2/3] hash: fix total... Wang, Yipeng1
- [dpdk-dev] [PATCH v4 3/3] test/hash: add test for... Dharmik Thakkar
- Re: [dpdk-dev] [PATCH v4 3/3] test/hash: add ... Wang, Yipeng1
- [dpdk-dev] [PATCH v4 1/3] hash: fix position bug ... Dharmik Thakkar
- Re: [dpdk-dev] [PATCH v4 1/3] hash: fix posit... Wang, Yipeng1
- Re: [dpdk-dev] [PATCH v4 1/3] hash: fix p... Dharmik Thakkar
- Re: [dpdk-dev] [dpdk-stable] [PATCH ... Thomas Monjalon
- Re: [dpdk-dev] [dpdk-stable] [PATCH ... Dharmik Thakkar
- Re: [dpdk-dev] [PATCH v4 0/3] hash: fix bugs in '... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v4 0/3] hash: fix bugs ... Wang, Yipeng1
- Re: [dpdk-dev] [PATCH v4 0/3] hash: fix b... Thomas Monjalon

