[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180719.071146.1992073818180515891.davem@davemloft.net>
Date: Thu, 19 Jul 2018 07:11:46 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipv6: sr: fix useless rol32 call on hash
From: Colin King <colin.king@...onical.com>
Date: Tue, 17 Jul 2018 16:52:54 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> 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.
>
> Detected by CoverityScan, CID#1468411 ("Useless call")
>
> Fixes: b5facfdba14c ("ipv6: sr: Compute flowlabel for outer IPv6 header of seg6 encap mode")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists