aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2023-12-17 10:32:37 +0200
committerDavid S. Miller <[email protected]>2023-12-20 11:27:20 +0000
commite0cd06f7fcb51b8acd6e68e64cc805be1283de9d (patch)
tree68073cedd0734a8b5fd1525fe66ca334fad361ef /tools/perf/scripts/python/gecko.py
parente37a11fca41864c9f652ff81296b82e6f65a4242 (diff)
rtnetlink: bridge: Use a different policy for MDB bulk delete
For MDB bulk delete we will need to validate 'MDBA_SET_ENTRY' differently compared to regular delete. Specifically, allow the ifindex to be zero (in case not filtering on bridge port) and force the address to be zero as bulk delete based on address is not supported. Do that by introducing a new policy and choosing the correct policy based on the presence of the 'NLM_F_BULK' flag in the netlink message header. Use nlmsg_parse() for strict validation. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Petr Machata <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions