Skip to content
Commit 455a1eb4 authored by James Hughes's avatar James Hughes Committed by Kalle Valo
Browse files

brcmfmac: Ensure pointer correctly set if skb data location changes



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: default avatarJames Hughes <james.hughes@raspberrypi.org>

Acked-by: default avatarArend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 9dc7efd3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment