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

From: Stephen Hemminger <[email-masked]>
Date: Thu, 23 Aug 2012 12:39:01 -0700

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.