netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: alexei.starovoitov@gmail.com, netdev@vger.kernel.org,
	Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH net-next 0/6] BPF updates
Date: Fri, 19 Feb 2016 23:05:21 +0100	[thread overview]
Message-ID: <cover.1455899111.git.daniel@iogearbox.net> (raw)

This set contains various updates for eBPF, i.e. the addition of a
generic csum helper function and other misc bits that mostly improve
existing helpers and ease programming with eBPF on cls_bpf. For more
details, please see individual patches.

Set is rebased on top of http://patchwork.ozlabs.org/patch/584465/.

Thanks!

Daniel Borkmann (6):
  bpf: add new arg_type that allows for 0 sized stack buffer
  bpf: add generic bpf_csum_diff helper
  bpf: remove artificial bpf_skb_{load,store}_bytes buffer limitation
  bpf: try harder on clones when writing into skb
  bpf: fix csum update in bpf_l4_csum_replace helper for udp
  bpf: don't emit mov A,A on return

 include/linux/bpf.h      |   1 +
 include/linux/skbuff.h   |   7 ++++
 include/uapi/linux/bpf.h |  12 ++++++
 kernel/bpf/verifier.c    |  42 ++++++++++++++-----
 net/core/filter.c        | 103 ++++++++++++++++++++++++++++++++++++++---------
 net/sched/act_csum.c     |   8 +---
 net/sched/act_nat.c      |  18 +++------
 7 files changed, 142 insertions(+), 49 deletions(-)

-- 
1.9.3

             reply	other threads:[~2016-02-19 22:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 22:05 Daniel Borkmann [this message]
2016-02-19 22:05 ` [PATCH net-next 1/6] bpf: add new arg_type that allows for 0 sized stack buffer Daniel Borkmann
2016-02-19 22:05 ` [PATCH net-next 2/6] bpf: add generic bpf_csum_diff helper Daniel Borkmann
2016-02-19 22:05 ` [PATCH net-next 3/6] bpf: remove artificial bpf_skb_{load,store}_bytes buffer limitation Daniel Borkmann
2016-02-19 22:05 ` [PATCH net-next 4/6] bpf: try harder on clones when writing into skb Daniel Borkmann
2016-02-19 22:05 ` [PATCH net-next 5/6] bpf: fix csum update in bpf_l4_csum_replace helper for udp Daniel Borkmann
2016-02-19 22:05 ` [PATCH net-next 6/6] bpf: don't emit mov A,A on return Daniel Borkmann
2016-02-22  3:07 ` [PATCH net-next 0/6] BPF updates David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1455899111.git.daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=alexei.starovoitov@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).