[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180409071623.mh6jk37timaiykyi@verge.net.au>
Date: Mon, 9 Apr 2018 10:16:23 +0300
From: Simon Horman <horms@...ge.net.au>
To: Julian Anastasov <ja@....bg>
Cc: Vincent Bernat <vincent@...nat.im>,
Wensong Zhang <wensong@...ux-vs.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
lvs-devel@...r.kernel.org
Subject: Re: [PATCH net-next v2] ipvs: fix multiplicative hashing in
sh/dh/lblc/lblcr algorithms
On Sun, Apr 01, 2018 at 02:11:51PM +0300, Julian Anastasov wrote:
>
> Hello,
>
> On Sun, 1 Apr 2018, Vincent Bernat wrote:
>
> > The sh/dh/lblc/lblcr algorithms are using Knuth's multiplicative
> > hashing incorrectly. Replace its use by the hash_32() macro, which
> > correctly implements this algorithm. It doesn't use the same constant,
> > but it shouldn't matter.
> >
> > Signed-off-by: Vincent Bernat <vincent@...nat.im>
>
> Looks good to me, thanks! Simon, please apply, if possible
> with the extra space removed, see below...
>
> Acked-by: Julian Anastasov <ja@....bg>
Thanks, I have applied this with the extra space removed.
I will submit it for inclusion in v4.18.
Powered by blists - more mailing lists