Commit 7cec0b92 authored by Alexei Starovoitov's avatar Alexei Starovoitov

selftests/bpf: Fix verifier test

Adjust verifier test due to addition of new field.

Fixes: c3c16f2e ("bpf: Add rx_queue_mapping to bpf_sock")
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 9a5f25ad
......@@ -222,7 +222,7 @@
BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 2),
BPF_MOV64_IMM(BPF_REG_0, 0),
BPF_EXIT_INSN(),
BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_sock, state)),
BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_sock, rx_queue_mapping)),
BPF_MOV64_IMM(BPF_REG_0, 0),
BPF_EXIT_INSN(),
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment