[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1508545543.git.daniel@iogearbox.net>
Date: Sat, 21 Oct 2017 02:34:20 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: davem@...emloft.net
Cc: alexei.starovoitov@...il.com, john.r.fastabend@...il.com,
netdev@...r.kernel.org, Daniel Borkmann <daniel@...earbox.net>
Subject: [PATCH net 0/3] Two BPF fixes for range marking
The set contains two fixes for direct packet access range
markings and test cases for all direct packet access patterns
that the verifier matches on.
They are targeted for net tree, note that once net gets merged
into net-next, there will be a minor merge conflict due to
signature change of the function find_good_pkt_pointers() as
well as data_meta patterns present in net-next tree. You can
just add bool false to the data_meta patterns and I will
follow-up with properly converting the patterns for data_meta
in a similar way.
Thanks a lot!
Daniel Borkmann (3):
bpf: fix off by one for range markings with L{T,E} patterns
bpf: fix pattern matches for direct packet access
bpf: add test cases to bpf selftests to cover all access tests
kernel/bpf/verifier.c | 57 +++-
tools/testing/selftests/bpf/test_verifier.c | 480 ++++++++++++++++++++++++++++
2 files changed, 525 insertions(+), 12 deletions(-)
--
1.9.3
Powered by blists - more mailing lists