netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] More flexible BPF cb access
@ 2017-01-12  1:21 Daniel Borkmann
  2017-01-12  1:21 ` [PATCH net-next 1/2] bpf: pass original insn directly to convert_ctx_access Daniel Borkmann
  2017-01-12  1:21 ` [PATCH net-next 2/2] bpf: allow b/h/w/dw access for bpf's cb in ctx Daniel Borkmann
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Borkmann @ 2017-01-12  1:21 UTC (permalink / raw)
  To: davem; +Cc: alexei.starovoitov, netdev, Daniel Borkmann

This patch improves BPF's cb access by allowing b/h/w/dw
access variants on it. For details, please see individual
patches.

Thanks!

Daniel Borkmann (2):
  bpf: pass original insn directly to convert_ctx_access
  bpf: allow b/h/w/dw access for bpf's cb in ctx

 include/linux/bpf.h                         |   7 +-
 kernel/bpf/verifier.c                       |  11 +-
 kernel/trace/bpf_trace.c                    |  15 +-
 net/core/filter.c                           | 176 ++++++-----
 tools/testing/selftests/bpf/test_verifier.c | 442 +++++++++++++++++++++++++++-
 5 files changed, 563 insertions(+), 88 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2017-01-12 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12  1:21 [PATCH net-next 0/2] More flexible BPF cb access Daniel Borkmann
2017-01-12  1:21 ` [PATCH net-next 1/2] bpf: pass original insn directly to convert_ctx_access Daniel Borkmann
2017-01-12  1:21 ` [PATCH net-next 2/2] bpf: allow b/h/w/dw access for bpf's cb in ctx Daniel Borkmann
2017-01-12  8:25   ` Quentin Monnet
2017-01-12 10:53     ` Daniel Borkmann

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