[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150324.152641.1956497494389302908.davem@davemloft.net>
Date: Tue, 24 Mar 2015 15:26:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: msekleta@...hat.com
Cc: netdev@...r.kernel.org, daniel@...earbox.net, ast@...mgrid.com,
jpirko@...hat.com
Subject: Re: [PATCH net-next v3] filter: introduce SKF_AD_VLAN_TPID BPF
extension
From: Michal Sekletar <msekleta@...hat.com>
Date: Tue, 24 Mar 2015 14:48:41 +0100
> 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 <daniel@...earbox.net>
> Cc: Alexei Starovoitov <ast@...mgrid.com>
> Cc: Jiri Pirko <jpirko@...hat.com>
>
> Signed-off-by: Michal Sekletar <msekleta@...hat.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