>-----Original Message-----
>From: Dharmik Thakkar [mailto:dharmik.thak...@arm.com]
>Sent: Thursday, May 9, 2019 10:19 AM
>To: Wang, Yipeng1 <yipeng1.w...@intel.com>; Gobriel, Sameh 
><sameh.gobr...@intel.com>; Richardson, Bruce
><bruce.richard...@intel.com>; De Lara Guarch, Pablo 
><pablo.de.lara.gua...@intel.com>
>Cc: dev@dpdk.org; honnappa.nagaraha...@arm.com; zhongdahulin...@163.com; 
>Dharmik Thakkar <dharmik.thak...@arm.com>;
>sta...@dpdk.org
>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: honnappa.nagaraha...@arm.com
>Cc: sta...@dpdk.org
>
>Reported-by: Linfan <zhongdahulin...@163.com>
>Suggested-by: Linfan <zhongdahulin...@163.com>
>Signed-off-by: Dharmik Thakkar <dharmik.thak...@arm.com>
Acked-by: Yipeng Wang <yipeng1.w...@intel.com>

Reply via email to