Subject: Re: [PATCH net-next v3] filter: introduce SKF_AD_VLAN_TPID BPF extension

From: Daniel Borkmann <[email-masked]>
Date: Tue, 24 Mar 2015 14:55:17 +0100

On 03/24/2015 02:48 PM, Michal Sekletar wrote:
> If vlan offloading takes place then vlan header is removed from frame
> and its contents, both vlan_tci and vlan_proto, is available to user
> space via TPACKET interface. However, only vlan_tci can be used in BPF
> filters.
>
> This commit introduces a new BPF extension. It makes possible to load
> the value of vlan_proto (vlan TPID) to register A. Support for classic
> BPF and eBPF is being added, analogous to skb->protocol.
>
> Cc: Daniel Borkmann <[email-masked]>
> Cc: Alexei Starovoitov <[email-masked]>
> Cc: Jiri Pirko <[email-masked]>
>
> Signed-off-by: Michal Sekletar <[email-masked]>

Looks good to me, thanks!

Acked-by: Daniel Borkmann <[email-masked]>