net: bridge: stp: don't cache eth dest pointer before skb pull
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 2 Jul 2019 12:00:21 +0000 (15:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2019 18:53:03 +0000 (11:53 -0700)
commit2446a68ae6a8cee6d480e2f5b52f5007c7c41312
tree0907ef038036f75e1914101b73be9891a42ac7d4
parent3d26eb8ad1e9b906433903ce05f775cf038e747f
net: bridge: stp: don't cache eth dest pointer before skb pull

Don't cache eth dest pointer before calling pskb_may_pull.

Fixes: cf0f02d04a83 ("[BRIDGE]: use llc for receiving STP packets")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp_bpdu.c