Re: [RFC PATCH bridge 2/5] bridge: Add vlan to unicast fdb entries
From: Vlad Yasevich <hidden>
Date: 2012-08-23 19:42:24
From: Vlad Yasevich <hidden>
Date: 2012-08-23 19:42:24
On 08/23/2012 03:39 PM, Stephen Hemminger wrote:
On Thu, 23 Aug 2012 15:29:52 -0400 Vlad Yasevich [off-list ref] wrote:quoted
diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h index dd3f201..288ff10 100644 --- a/include/linux/if_bridge.h +++ b/include/linux/if_bridge.h@@ -95,6 +95,7 @@ struct __fdb_entry { __u8 port_hi; __u8 pad0; __u16 unused; +#define fdb_vid unusedThat is seriously ugly. Just change the structure definition to use the value.
Ok. I did that originally, but that made it hard to detect in userspace. I'll think of something. -vlad