netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf: stack depth tracking fix
@ 2017-12-22 21:33 Alexei Starovoitov
  2017-12-22 21:33 ` [PATCH bpf-next 1/2] bpf: fix maximum stack depth tracking logic Alexei Starovoitov
  2017-12-22 21:33 ` [PATCH bpf-next 2/2] selftests/bpf: additional stack depth tests Alexei Starovoitov
  0 siblings, 2 replies; 7+ messages in thread
From: Alexei Starovoitov @ 2017-12-22 21:33 UTC (permalink / raw)
  To: David S . Miller; +Cc: Daniel Borkmann, Jann Horn, netdev, kernel-team

Jann reported an issue with stack depth tracking.
Fix it and add tests.

Alexei Starovoitov (2):
  bpf: fix maximum stack depth tracking logic
  selftests/bpf: additional stack depth tests

 include/linux/bpf_verifier.h                | 17 ++++++++++
 kernel/bpf/verifier.c                       | 15 +++++----
 tools/testing/selftests/bpf/test_verifier.c | 50 +++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+), 6 deletions(-)

-- 
2.9.5

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

end of thread, other threads:[~2017-12-23  3:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-22 21:33 [PATCH bpf-next 0/2] bpf: stack depth tracking fix Alexei Starovoitov
2017-12-22 21:33 ` [PATCH bpf-next 1/2] bpf: fix maximum stack depth tracking logic Alexei Starovoitov
2017-12-23  1:38   ` Jann Horn
2017-12-23  2:07     ` Alexei Starovoitov
2017-12-23  2:26       ` Jann Horn
2017-12-23  3:03         ` Alexei Starovoitov
2017-12-22 21:33 ` [PATCH bpf-next 2/2] selftests/bpf: additional stack depth tests Alexei Starovoitov

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).