[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160711.135218.1535273154348680313.davem@davemloft.net>
Date: Mon, 11 Jul 2016 13:52:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: jakub.kicinski@...ronome.com, lauro.venancio@...nbossa.org,
aloisio.almeida@...nbossa.org, sameo@...ux.intel.com,
rolf.neugebauer@...ronome.com, christophe.ricard@...il.com,
robert.dolca@...el.com, oss-drivers@...ronome.com,
netdev@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: [PATCH][V2] nfp: check idx is -ENOSPC before using it is an
index
From: Colin King <colin.king@...onical.com>
Date: Mon, 11 Jul 2016 16:54:20 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> idx can be returned as -ENOSPC, so we should check for this first
> before using it as an index into nn->vxlan_usecnt[] to avoid an
> out of bounds array offset read.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to net-next.
Powered by blists - more mailing lists