aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/verifier/div_overflow.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2019-01-23 17:22:27 +0000
committerDaniel Borkmann <[email protected]>2019-01-24 09:49:05 +0000
commitd9ff286a0f59fa7843549e49bd240393dd7d8b87 (patch)
treee35b062f71cf6970b8fa2e05e6d9feb0687da8a3 /tools/testing/selftests/bpf/verifier/div_overflow.c
parentbpftool: feature probing, change default action (diff)
downloadkernel-d9ff286a0f59fa7843549e49bd240393dd7d8b87.tar.gz
kernel-d9ff286a0f59fa7843549e49bd240393dd7d8b87.zip
bpf: allow BPF programs access skb_shared_info->gso_segs field
This adds the ability to read gso_segs from a BPF program. v3: Use BPF_REG_AX instead of BPF_REG_TMP for the temporary register, as suggested by Martin. v2: refined Eddie Hao patch to address Alexei feedback. Signed-off-by: Eric Dumazet <[email protected]> Cc: Eddie Hao <[email protected]> Cc: Martin KaFai Lau <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/div_overflow.c')
0 files changed, 0 insertions, 0 deletions