diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2019-10-29 13:45:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-29 18:12:49 -0700 |
commit | ac3ca6af443aa495c7907e5010ac77fbd2450eaa (patch) | |
tree | 844ee12d112ae83ba84b8dfe60f6e3e46d438a70 /net/bridge/br_private.h | |
parent | e0458d9a733ba71a2821d0c3fc0745baac697db0 (diff) | |
download | linux-ac3ca6af443aa495c7907e5010ac77fbd2450eaa.tar.bz2 |
net: bridge: fdb: convert added_by_user to bitops
Straight-forward convert of the added_by_user field to bitops.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-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 296f2f12c232..bf4a4d1cc3bb 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -177,6 +177,7 @@ enum { BR_FDB_LOCAL, BR_FDB_STATIC, BR_FDB_STICKY, + BR_FDB_ADDED_BY_USER, }; struct net_bridge_fdb_key { @@ -191,8 +192,7 @@ struct net_bridge_fdb_entry { struct net_bridge_fdb_key key; struct hlist_node fdb_node; unsigned long flags; - unsigned char added_by_user:1, - added_by_external_learn:1, + unsigned char added_by_external_learn:1, offloaded:1; /* write-heavy members should not affect lookups */ |