diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2019-10-29 12:45:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-30 02:12:49 +0100 |
commit | e0458d9a733ba71a2821d0c3fc0745baac697db0 (patch) | |
tree | 7ed1a32088e10eff326090037eb87abeb0cbca87 /net/bridge/br_private.h | |
parent | net: bridge: fdb: convert is_static to bitops (diff) | |
download | linux-e0458d9a733ba71a2821d0c3fc0745baac697db0.tar.xz linux-e0458d9a733ba71a2821d0c3fc0745baac697db0.zip |
net: bridge: fdb: convert is_sticky to bitops
Straight-forward convert of the is_sticky field to bitops.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/bridge/br_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index c5258fad76e5..296f2f12c232 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -176,6 +176,7 @@ struct net_bridge_vlan_group { enum { BR_FDB_LOCAL, BR_FDB_STATIC, + BR_FDB_STICKY, }; struct net_bridge_fdb_key { @@ -190,8 +191,7 @@ struct net_bridge_fdb_entry { struct net_bridge_fdb_key key; struct hlist_node fdb_node; unsigned long flags; - unsigned char is_sticky:1, - added_by_user:1, + unsigned char added_by_user:1, added_by_external_learn:1, offloaded:1; |