]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: add another gso_segs access
authorEric Dumazet <edumazet@google.com>
Tue, 23 Jul 2019 10:15:38 +0000 (03:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 23 Jul 2019 21:12:37 +0000 (14:12 -0700)
commit904404d8a5d63727262cd5ae29a2196e88d7ec85
tree1aaff1884ece785915c25780bd7d2f5666c5e941
parent57f691106ead61100b81f4ce339e7210769cf12e
selftests/bpf: add another gso_segs access

Use BPF_REG_1 for source and destination of gso_segs read,
to exercise "bpf: fix access to skb_shared_info->gso_segs" fix.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Suggested-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/verifier/ctx_skb.c