commit | 3fc60aa097b8eb0f701c5bf755bc8f7d3ffeb0bd | [log] [tgz] |
---|---|---|
author | Denis Kirjanov <kda@linux-powerpc.org> | Wed Jun 25 21:34:56 2014 +0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 27 16:14:12 2014 -0700 |
tree | cf48802982784b6b60c31aaea3965438bed8bbd8 | |
parent | e940f5d6ba6a01f8dbb870854d5205d322452730 [diff] |
powerpc: bpf: Use correct mask while accessing the VLAN tag 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@linux-powerpc.org> Signed-off-by: David S. Miller <davem@davemloft.net>