summaryrefslogtreecommitdiff
path: root/net/bridge/br_stp_bpdu.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2019-07-02 15:00:20 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-02 21:53:03 +0300
commit3d26eb8ad1e9b906433903ce05f775cf038e747f (patch)
treef3b35856d12d170744c54dd5a056b23a74218043 /net/bridge/br_stp_bpdu.c
parent3b26a5d03d35d8f732d75951218983c0f7f68dff (diff)
downloadlinux-3d26eb8ad1e9b906433903ce05f775cf038e747f.tar.xz
net: bridge: don't cache ether dest pointer on input
We would cache ether dst pointer on input in br_handle_frame_finish but after the neigh suppress code that could lead to a stale pointer since both ipv4 and ipv6 suppress code do pskb_may_pull. This means we have to always reload it after the suppress code so there's no point in having it cached just retrieve it directly. Fixes: 057658cb33fbf ("bridge: suppress arp pkts on BR_NEIGH_SUPPRESS ports") Fixes: ed842faeb2bd ("bridge: suppress nd pkts on BR_NEIGH_SUPPRESS ports") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp_bpdu.c')
0 files changed, 0 insertions, 0 deletions