netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] bpf: verifier fixes
@ 2017-08-22 13:17 Edward Cree
       [not found] ` <f25f46bd-27cb-2182-2551-2887757c1e0f-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
  2017-08-22 13:27 ` [PATCH net-next 3/4] bpf/verifier: when pruning a branch, ignore its write marks Edward Cree
  0 siblings, 2 replies; 13+ messages in thread
From: Edward Cree @ 2017-08-22 13:17 UTC (permalink / raw)
  To: davem, Alexei Starovoitov, Alexei Starovoitov, Daniel Borkmann
  Cc: netdev, iovisor-dev

Fix a couple of bugs introduced in my recent verifier patches.
Patch #3 does slightly increase the insn count on bpf_lxc.o, but only by
 about a hundred insns (i.e. 0.2%).

Alexei Starovoitov (1):
  selftests/bpf: add a test for a pruning bug in the verifier

Edward Cree (3):
  bpf/verifier: remove varlen_map_value_access flag
  bpf/verifier: when pruning a branch, ignore its write marks
  bpf/verifier: document liveness analysis

 include/linux/bpf_verifier.h                | 14 +++++-
 kernel/bpf/verifier.c                       | 78 +++++++++++++++++------------
 tools/testing/selftests/bpf/test_verifier.c | 28 +++++++++++
 3 files changed, 87 insertions(+), 33 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-08-22 18:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22 13:17 [PATCH net-next 0/4] bpf: verifier fixes Edward Cree
     [not found] ` <f25f46bd-27cb-2182-2551-2887757c1e0f-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
2017-08-22 13:26   ` [PATCH net-next 1/4] selftests/bpf: add a test for a pruning bug in the verifier Edward Cree via iovisor-dev
2017-08-22 13:26   ` [PATCH net-next 2/4] bpf/verifier: remove varlen_map_value_access flag Edward Cree via iovisor-dev
     [not found]     ` <6174b732-0bf9-19a3-09c4-f6a62be24a0c-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
2017-08-22 15:17       ` Alexei Starovoitov via iovisor-dev
2017-08-22 13:27   ` [PATCH net-next 4/4] bpf/verifier: document liveness analysis Edward Cree via iovisor-dev
2017-08-22 15:42     ` Alexei Starovoitov
2017-08-22 15:55       ` Edward Cree
2017-08-22 15:59         ` Alexei Starovoitov
2017-08-22 13:27 ` [PATCH net-next 3/4] bpf/verifier: when pruning a branch, ignore its write marks Edward Cree
     [not found]   ` <d1a5b78a-8f5c-50d9-08a2-eb7c4829a478-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
2017-08-22 15:24     ` Alexei Starovoitov via iovisor-dev
     [not found]       ` <0ba423e6-8629-37b1-b772-0734f1fb5489-b10kYP2dOMg@public.gmane.org>
2017-08-22 15:50         ` Edward Cree via iovisor-dev
2017-08-22 18:03           ` Edward Cree
     [not found]             ` <9a8076d1-a88b-b0e8-3c47-969a022feb60-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
2017-08-22 18:25               ` Alexei Starovoitov via iovisor-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).