[PATCH v2 1/2] powerpc: bpf: Use correct mask while accessing the VLAN tag

David Miller davem at davemloft.net
Sat Jun 28 09:14:34 EST 2014


From: Denis Kirjanov <kda at linux-powerpc.org>
Date: Wed, 25 Jun 2014 21:34:56 +0400

> To get a full tag (and not just a VID) we should access the TCI
> except the VLAN_TAG_PRESENT field (which means that 802.1q header
> is present). Also ensure that the VLAN_TAG_PRESENT stay on its place
> 
> Signed-off-by: Denis Kirjanov <kda at linux-powerpc.org>

Applied.


More information about the Linuxppc-dev mailing list