[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6E5AAA23-4000-4C29-BB4E-AA7C05B6F619@alum.mit.edu>
Date: Wed, 4 Mar 2015 13:14:39 -0800
From: Guy Harris <guy@...m.mit.edu>
To: Alexei Starovoitov <ast@...mgrid.com>
Cc: Michal Sekletar <msekleta@...hat.com>, netdev@...r.kernel.org,
Jiri Pirko <jpirko@...hat.com>
Subject: Re: [PATCH] filter: introduce SKF_AD_VLAN_PROTO BPF extension
On Mar 4, 2015, at 1:03 PM, Alexei Starovoitov <ast@...mgrid.com> wrote:
> the patch is correct and looks clean, but I don't understand
> the motivation for the patch.
> There is already SKF_AD_VLAN_TAG_PRESENT. If it is set then only
> two possible values of vlan_proto are ETH_P_8021Q or ETH_P_8021AD.
> If there another vlan header inside the packet, it's AD.
> So you can do the filtering already without adding new bpf extension...
I presume he's referring to
https://github.com/the-tcpdump-group/libpcap/issues/397
or
https://github.com/the-tcpdump-group/libpcap/issues/390
--
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