Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:41728 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966124AbdDZJEt (ORCPT ); Wed, 26 Apr 2017 05:04:49 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [v2] brcmfmac: Ensure pointer correctly set if skb data location changes From: Kalle Valo In-Reply-To: <20170424114050.24948-1-james.hughes@raspberrypi.org> References: <20170424114050.24948-1-james.hughes@raspberrypi.org> To: James Hughes Cc: Arend van Spriel , Franky Lin , Hante Meuleman , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, netdev@vger.kernel.org, James Hughes Message-Id: <20170426090449.2C8346149F@smtp.codeaurora.org> (sfid-20170426_112859_925739_501893D2) Date: Wed, 26 Apr 2017 09:04:49 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: James Hughes wrote: > The incoming skb header may be resized if header space is > insufficient, which might change the data adddress in the skb. > Ensure that a cached pointer to that data is correctly set by > moving assignment to after any possible changes. > > Signed-off-by: James Hughes > > Acked-by: Arend van Spriel Patch applied to wireless-drivers-next.git, thanks. 455a1eb4654c brcmfmac: Ensure pointer correctly set if skb data location changes -- https://patchwork.kernel.org/patch/9696045/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches