diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2016-09-12 14:04:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-16 01:17:15 +0200 |
commit | 5c0ca3f566d7a19e9bf9671dfc2108fad1b7b9b2 (patch) | |
tree | e56e587e2b2dcb7ced86a3a002a792f6ff281d93 /net/sched | |
parent | atm: iphase: fix newline escape and minor tweak to source formatting (diff) | |
download | linux-5c0ca3f566d7a19e9bf9671dfc2108fad1b7b9b2.tar.xz linux-5c0ca3f566d7a19e9bf9671dfc2108fad1b7b9b2.zip |
test_bpf: fix the dummy skb after dissector changes
Commit d5709f7ab776 ("flow_dissector: For stripped vlan, get vlan
info from skb->vlan_tci") made flow dissector look at vlan_proto
when vlan is present. Since test_bpf sets skb->vlan_tci to ~0
(including VLAN_TAG_PRESENT) we have to populate skb->vlan_proto.
Fixes false negative on test #24:
test_bpf: #24 LD_PAYLOAD_OFF jited:0 175 ret 0 != 42 FAIL (1 times)
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dinan Gunawardena <dinan.gunawardena@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions