Files
linux/net
Vladimir Oltean 0e761ac08f 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 <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20201028234815.613226-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-30 17:58:16 -07:00
..
2020-09-18 14:12:43 -07:00
2020-10-30 11:59:54 -07:00
2020-10-30 11:43:42 -07:00
2020-10-30 11:34:09 -07:00
2020-10-30 11:57:56 -07:00
2020-10-28 09:14:49 -03:00
2020-10-30 15:24:49 -07:00
2020-10-26 16:29:14 -07:00
2020-10-29 19:27:45 +01:00
2020-10-29 19:27:45 +01:00