projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7485f6
)
bridge: convert flags in fbd entry into bitfields
author
Jiri Pirko
<jiri@resnulli.us>
Fri, 28 Nov 2014 13:34:14 +0000
(14:34 +0100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 3 Dec 2014 04:01:17 +0000
(20:01 -0800)
Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_private.h
b/net/bridge/br_private.h
index 8f3f081402586a3dddee01adc838b77f514db904..5b370773ad9c0a9a04673aeaaf1745da4a8429f4 100644
(file)
--- a/
net/bridge/br_private.h
+++ b/
net/bridge/br_private.h
@@
-98,9
+98,9
@@
struct net_bridge_fdb_entry
unsigned long updated;
unsigned long used;
mac_addr addr;
- unsigned char is_local
;
- unsigned char is_static;
-
unsigned char added_by_user
;
+ unsigned char is_local
:1,
+ is_static:1,
+
added_by_user:1
;
__u16 vlan_id;
};