[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110601.211839.1746668346631660694.davem@davemloft.net>
Date: Wed, 01 Jun 2011 21:18:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: greearb@...delatech.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v3] af-packet: Add flag to distinguish VID 0 from
no-vlan.
From: greearb@...delatech.com
Date: Wed, 1 Jun 2011 09:49:10 -0700
> From: Ben Greear <greearb@...delatech.com>
>
> Currently, user-space cannot determine if a 0 tcp_vlan_tci
> means there is no VLAN tag or the VLAN ID was zero.
>
> Add flag to make this explicit. User-space can check for
> TP_STATUS_VLAN_VALID || tp_vlan_tci > 0, which will be backwards
> compatible. Older could would have just checked for tp_vlan_tci,
> so it will work no worse than before.
>
> Signed-off-by: Ben Greear <greearb@...delatech.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists