diff options
author | Denis Kirjanov <kda@linux-powerpc.org> | 2014-06-25 17:34:56 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 23:14:12 (GMT) |
commit | 3fc60aa097b8eb0f701c5bf755bc8f7d3ffeb0bd (patch) | |
tree | cf48802982784b6b60c31aaea3965438bed8bbd8 /net | |
parent | e940f5d6ba6a01f8dbb870854d5205d322452730 (diff) | |
download | linux-3fc60aa097b8eb0f701c5bf755bc8f7d3ffeb0bd.tar.xz |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions