> -----Original Message-----
> From: Medvedkin, Vladimir <[email protected]>
> Sent: Tuesday, May 4, 2021 7:25 AM
> To: [email protected]
> Cc: Ananyev, Konstantin <[email protected]>; Chilikin, Andrey
> <[email protected]>; Kinsella, Ray <[email protected]>; Wang,
> Yipeng1 <[email protected]>; Gobriel, Sameh
> <[email protected]>; Richardson, Bruce
> <[email protected]>; [email protected];
> [email protected]; Medvedkin, Vladimir <[email protected]>
> Subject: [PATCH v2] hash: fix tuple adjustment
> 
> rte_thash_adjust_tuple() uses random to generate a new subtuple if
> fn() callback reports about collision. In some cases random changes the
> subtuple in a way that after complementary bits are applied the original tuple
> is obtained. This patch replaces random with subtuple increment.
> 
> Fixes: 28ebff11c2dc ("hash: add predictable RSS")
> Cc: [email protected]
> 
> Signed-off-by: Vladimir Medvedkin <[email protected]>
> ---
Acked-by: Yipeng Wang <[email protected]>

Reply via email to