]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ipv6: fix useless rol32 call on hash
authorColin Ian King <colin.king@canonical.com>
Tue, 17 Jul 2018 16:12:39 +0000 (17:12 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Feb 2019 04:53:01 +0000 (04:53 +0000)
commita8c1ee5492f9a2ee44dc74ca12913a65e4c21972
treee1f81da8de28228aa5bbc42c07468508419909f3
parent756bfe6c232ec7b1bd9ae84933dc4cf057c24c80
ipv6: fix useless rol32 call on hash

BugLink: http://bugs.launchpad.net/bugs/1812229
[ Upstream commit 169dc027fb02492ea37a0575db6a658cf922b854 ]

The rol32 call is currently rotating hash but the rol'd value is
being discarded. I believe the current code is incorrect and hash
should be assigned the rotated value returned from rol32.

Thanks to David Lebrun for spotting this.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/net/ipv6.h