From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: thunderx: check for failed allocation lmac->dmacs Date: Tue, 07 Aug 2018 12:38:32 -0700 (PDT) Message-ID: <20180807.123832.127388149108997730.davem@davemloft.net> References: <20180806165045.15707-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sgoutham@cavium.com, rric@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org To: colin.king@canonical.com Return-path: In-Reply-To: <20180806165045.15707-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Colin King Date: Mon, 6 Aug 2018 17:50:45 +0100 > From: Colin Ian King > > The allocation of lmac->dmacs is not being checked for allocation > failure. Add the check. > > Fixes: 3a34ecfd9d3f ("net: thunderx: add MAC address filter tracking for LMAC") > Signed-off-by: Colin Ian King Applied.