diff options
author | Vladimir Oltean <[email protected]> | 2020-10-29 01:48:15 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-10-30 17:58:16 -0700 |
commit | 0e761ac08fd8d53dfc53bb762748a61ffe3fe7b8 (patch) | |
tree | 9379b308ed138899f6a0b03de2accc88d5f67c54 /tools/perf/util/trace-event-scripting.c | |
parent | 955062b03fa62b802a1ee34fbb04e39f7a70ae73 (diff) |
net: bridge: explicitly convert between mdb entry state and port group flags
When creating a new multicast port group, there is implicit conversion
between the __u8 state member of struct br_mdb_entry and the unsigned
char flags member of struct net_bridge_port_group. This implicit
conversion relies on the fact that MDB_PERMANENT is equal to
MDB_PG_FLAGS_PERMANENT.
Let's be more explicit and convert the state to flags manually.
Signed-off-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions