From: Jiri Pirko Date: Fri, 28 Nov 2014 13:34:14 +0000 (+0100) Subject: bridge: convert flags in fbd entry into bitfields X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93859b13fa7ecef9d4d8bab4a7acc9f212c8fce2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git bridge: convert flags in fbd entry into bitfields Suggested-by: Florian Fainelli Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 8f3f08140258..5b370773ad9c 100644 --- 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; };