[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9208b68-466e-c6cb-4d0c-c567e40bdc15@solarflare.com>
Date: Wed, 23 Aug 2017 15:07:20 +0100
From: Edward Cree <ecree@...arflare.com>
To: <davem@...emloft.net>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>
CC: <netdev@...r.kernel.org>,
iovisor-dev <iovisor-dev@...ts.iovisor.org>
Subject: [PATCH v2 net-next 0/5] bpf: verifier fixes
Fix a couple of bugs introduced in my recent verifier patches.
Patch #2 does slightly increase the insn count on bpf_lxc.o, but only by
about a hundred insns (i.e. 0.2%).
v2: added test for write-marks bug (patch #1); reworded comment on
propagate_liveness() for clarity.
Alexei Starovoitov (1):
selftests/bpf: add a test for a pruning bug in the verifier
Edward Cree (4):
selftests/bpf: add a test for a bug in liveness-based pruning
bpf/verifier: when pruning a branch, ignore its write marks
bpf/verifier: remove varlen_map_value_access flag
bpf/verifier: document liveness analysis
include/linux/bpf_verifier.h | 14 +++++-
kernel/bpf/verifier.c | 78 +++++++++++++++++------------
tools/testing/selftests/bpf/test_verifier.c | 44 ++++++++++++++++
3 files changed, 103 insertions(+), 33 deletions(-)
Powered by blists - more mailing lists