Subject: Re: [RFC PATCH bridge 2/5] bridge: Add vlan to unicast fdb entries

From: Vlad Yasevich <[email-masked]>
Date: Thu, 23 Aug 2012 15:42:23 -0400

On 08/23/2012 03:39 PM, Stephen Hemminger wrote:
> On Thu, 23 Aug 2012 15:29:52 -0400
> Vlad Yasevich <[email-masked]> wrote:
>
>> 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 unused
>
> That 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