aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorTim Yi <[email protected]>2022-01-27 15:49:53 +0800
committerJakub Kicinski <[email protected]>2022-01-27 09:01:25 -0800
commitfd20d9738395cf8e27d0a17eba34169699fccdff (patch)
tree7b16cd5de1808b0d38324076e259dba36c4d684f /tools/perf/util/scripting-engines/trace-event-perl.c
parent364df53c081d93fcfd6b91085ff2650c7f17b3c7 (diff)
net: bridge: vlan: fix memory leak in __allowed_ingress
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 <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions