All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] BPF direct packet access improvements
@ 2016-09-19 22:26 Daniel Borkmann
  2016-09-19 22:26 ` [PATCH net-next 1/3] bpf, verifier: enforce larger zero range for pkt on overloading stack buffs Daniel Borkmann
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Borkmann @ 2016-09-19 22:26 UTC (permalink / raw)
  To: davem; +Cc: alexei.starovoitov, tgraf, jakub.kicinski, netdev,
	Daniel Borkmann

This set adds write support to the currently available read support
for {cls,act}_bpf programs. First one is a fix for affected commit
sitting in net-next and prerequisite for the second one, last patch
adds a number of test cases against the verifier. For details, please
see individual patches.

Thanks!

Daniel Borkmann (3):
  bpf, verifier: enforce larger zero range for pkt on overloading stack buffs
  bpf: direct packet write and access for helpers for clsact progs
  bpf: add test cases for direct packet access

 include/linux/bpf.h         |   4 +-
 include/linux/skbuff.h      |  14 +-
 include/uapi/linux/bpf.h    |  21 +++
 kernel/bpf/helpers.c        |   3 +
 kernel/bpf/verifier.c       |  56 ++++--
 net/core/filter.c           | 134 ++++++++++++--
 samples/bpf/test_verifier.c | 433 +++++++++++++++++++++++++++++++++++++++++++-
 7 files changed, 627 insertions(+), 38 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2016-09-21  3:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 22:26 [PATCH net-next 0/3] BPF direct packet access improvements Daniel Borkmann
2016-09-19 22:26 ` [PATCH net-next 1/3] bpf, verifier: enforce larger zero range for pkt on overloading stack buffs Daniel Borkmann
2016-09-19 22:26 ` [PATCH net-next 2/3] bpf: direct packet write and access for helpers for clsact progs Daniel Borkmann
2016-09-19 22:26 ` [PATCH net-next 3/3] bpf: add test cases for direct packet access Daniel Borkmann
2016-09-21  3:37 ` [PATCH net-next 0/3] BPF direct packet access improvements David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.