summaryrefslogtreecommitdiff
path: root/net/core/bpf_sk_storage.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2020-11-13 01:42:12 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-11-13 01:42:57 +0100
commit0a58a65cc0b0ebabbcf3cdae7642e6db29648164 (patch)
tree9c3d86a8186c1284faf76bdbc98f60d720cd2b28 /net/core/bpf_sk_storage.c
parentc36538798fc6c80bd8bdaddad803b0c86dc13d7c (diff)
parentcb62d34019d9117bb94de6ed35959449d43d6055 (diff)
Merge branch 'bpf-ptrs-beyond-pkt-end'
Alexei Starovoitov says: ==================== v1->v2: - removed set-but-unused variable. - added Jiri's Tested-by. In some cases LLVM uses the knowledge that branch is taken to optimze the code which causes the verifier to reject valid programs. Teach the verifier to recognize that r1 = skb->data; r1 += 10; r2 = skb->data_end; if (r1 > r2) { here r1 points beyond packet_end and subsequent if (r1 > r2) // always evaluates to "true". } ==================== Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/core/bpf_sk_storage.c')
0 files changed, 0 insertions, 0 deletions