netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 net-next 0/3] filter: add Extended BPF interpreter and converter, seccomp
@ 2014-03-08 23:15 Alexei Starovoitov
  2014-03-08 23:15 ` [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter Alexei Starovoitov
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Alexei Starovoitov @ 2014-03-08 23:15 UTC (permalink / raw)
  To: David S. Miller
  Cc: Daniel Borkmann, Ingo Molnar, Will Drewry, Steven Rostedt,
	Peter Zijlstra, H. Peter Anvin, Hagen Paul Pfeifer, Jesse Gross,
	Thomas Gleixner, Masami Hiramatsu, Tom Zanussi, Jovi Zhangwei,
	Eric Dumazet, Linus Torvalds, Andrew Morton, Frederic Weisbecker,
	Arnaldo Carvalho de Melo, Pekka Enberg, Arjan van de Ven,
	Christoph Hellwig, linux-kernel, netdev

Hi Dave,

V1 patches:
http://thread.gmane.org/gmane.linux.kernel/1605783
V2 patches:
http://thread.gmane.org/gmane.linux.kernel/1642325
V3 patches:
http://thread.gmane.org/gmane.linux.kernel/1656538

V4 summary:
- addressed Daniel comments
- RFC for seccomp with extended BPF
- added extended BPF design doc

V5 summary:
- fixed commit one-liner, removed empty line
- added Hagen's ack

V6 summary:
- unrolled loop in populate_seccomp_data() to help gcc on arm
- removed empty line at the end of the file
- removed redundant (u32) cast in JSET
- fixed BPF_RVAL instead of BPF_SRC for BPF_RET in sk_convert_filter()
- updated commit log
- added Daniel's Reviewed-by
- added Kees's Reviewed-by

V7 summary:
1/3:
- addressed Dave's feedback regarding typecasting:
  added 'jited' flag to sk_filter and union for bpf_func/bpf_func_ext
- added a comment to sk_run_filter_ext() about ctx<->skb relation
- removed CPU specific code from sk_run_filter() and sk_run_filter_ext()
  because of that revised arm32 cache-hit bpf micro-bench numbers slightly
  slower, but seccomp and cache-miss arm32 numbers stayed the same
2/3 and 3/3: no changes

x86_64, i386 and arm32 look clean.

Thanks!

Alexei Starovoitov (3):
  filter: add Extended BPF interpreter and converter
  seccomp: convert seccomp to use extended BPF
  doc: filter: add Extended BPF documentation

 Documentation/networking/filter.txt |  181 ++++++++
 arch/arm/net/bpf_jit_32.c           |    3 +-
 arch/powerpc/net/bpf_jit_comp.c     |    3 +-
 arch/s390/net/bpf_jit_comp.c        |    3 +-
 arch/sparc/net/bpf_jit_comp.c       |    3 +-
 arch/x86/net/bpf_jit_comp.c         |    3 +-
 include/linux/filter.h              |   16 +-
 include/linux/netdevice.h           |    1 +
 include/linux/seccomp.h             |    1 -
 include/uapi/linux/filter.h         |   33 +-
 kernel/seccomp.c                    |  118 +++--
 net/core/filter.c                   |  806 ++++++++++++++++++++++++++++++++++-
 net/core/sysctl_net_core.c          |    7 +
 13 files changed, 1077 insertions(+), 101 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2014-03-11 18:19 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-08 23:15 [PATCH v7 net-next 0/3] filter: add Extended BPF interpreter and converter, seccomp Alexei Starovoitov
2014-03-08 23:15 ` [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter Alexei Starovoitov
2014-03-09 12:29   ` Daniel Borkmann
2014-03-09 17:08     ` Alexei Starovoitov
2014-03-09 22:00       ` Daniel Borkmann
2014-03-10  0:41         ` Alexei Starovoitov
2014-03-11 17:40         ` Pavel Emelyanov
2014-03-11 18:03           ` Alexei Starovoitov
2014-03-11 18:19             ` Pavel Emelyanov
2014-03-09 14:45   ` Eric Dumazet
2014-03-09 17:38     ` Alexei Starovoitov
2014-03-09 18:11       ` Eric Dumazet
2014-03-09 18:57         ` Alexei Starovoitov
2014-03-09 19:11           ` Eric Dumazet
2014-03-09 19:20             ` Alexei Starovoitov
2014-03-09 14:49   ` Eric Dumazet
2014-03-09 18:02     ` Alexei Starovoitov
2014-03-08 23:15 ` [PATCH v7 net-next 2/3] seccomp: convert seccomp to use extended BPF Alexei Starovoitov
2014-03-08 23:15 ` [PATCH v7 net-next 3/3] doc: filter: add Extended BPF documentation 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).