>-----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]>

Reply via email to