[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170818073234.3f4c5e56@cakuba.netronome.com>
Date: Fri, 18 Aug 2017 07:32:34 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Simon Horman <simon.horman@...ronome.com>,
Daniel Borkmann <daniel@...earbox.net>,
oss-drivers@...ronome.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [oss-drivers] [PATCH] nfp: fix infinite loop on umapping
cleanup
On Fri, 18 Aug 2017 12:11:50 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The while loop that performs the dma page unmapping never decrements
> index counter f and hence loops forever. Fix this with a pre-decrement
> on f.
>
> Detected by CoverityScan, CID#1357309 ("Infinite loop")
>
> Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Thanks!
Powered by blists - more mailing lists