]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitde01e08bd57f72fed86b601a5140efafc44c9272
tree5b70c67cc7b3b3f40cfe6d0ce0cf2ab6f10fc736
parent6bd5a523187490b9af45bb81d5e89fe968e1ddb1
net: bridge: stp: don't cache eth dest pointer before skb pull

BugLink: https://bugs.launchpad.net/bugs/1839036
[ Upstream commit 2446a68ae6a8cee6d480e2f5b52f5007c7c41312 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/bridge/br_stp_bpdu.c