From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] octeontx2-af: Copy the right amount of memory Date: Wed, 24 Oct 2018 14:25:58 -0700 (PDT) Message-ID: <20181024.142558.1699802085109283198.davem@davemloft.net> References: <20181024083221.humvwh2pefovptcd@kili.mountain> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: dan.carpenter@oracle.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:41600 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbeJYFzl (ORCPT ); Thu, 25 Oct 2018 01:55:41 -0400 In-Reply-To: <20181024083221.humvwh2pefovptcd@kili.mountain> Sender: netdev-owner@vger.kernel.org List-ID: From: Dan Carpenter Date: Wed, 24 Oct 2018 11:32:21 +0300 > This is a copy and paste bug where we copied the sizeof() from the chunk > before. We're copying more data than intended but the destination is a > union so it doesn't cause memory corruption. > > Fixes: ffb0abd7e9cb ("octeontx2-af: NIX AQ instruction enqueue support") > Signed-off-by: Dan Carpenter Applied, thanks Dan.