summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTim Yi <tim.yi@pica8.com>2022-01-27 15:49:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-01 17:25:48 +0100
commit446ff1fc37c74093e81db40811a07b5a19f1d797 (patch)
tree4ac939a238edd5ecd0d3d183e551228fc3210c63 /Documentation
parentbc58a5bb9e6c9a0ddca431548e0ea087e238c7a5 (diff)
net: bridge: vlan: fix memory leak in __allowed_ingress
[ Upstream commit fd20d9738395cf8e27d0a17eba34169699fccdff ] When using per-vlan state, if vlan snooping and stats are disabled, untagged or priority-tagged ingress frame will go to check pvid state. If the port state is forwarding and the pvid state is not learning/forwarding, untagged or priority-tagged frame will be dropped but skb memory is not freed. Should free skb when __allowed_ingress returns false. Fixes: a580c76d534c ("net: bridge: vlan: add per-vlan state") Signed-off-by: Tim Yi <tim.yi@pica8.com> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Link: https://lore.kernel.org/r/20220127074953.12632-1-tim.yi@pica8.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions