public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox•net>
To: davem@davemloft•net
Cc: alexei.starovoitov@gmail•com, hannes@stressinduktion•org,
	netdev@vger•kernel.org, Daniel Borkmann <daniel@iogearbox•net>
Subject: [PATCH net-next 0/2] bpf: couple of fixes
Date: Fri, 10 Jun 2016 21:19:05 +0200	[thread overview]
Message-ID: <cover.1465578089.git.daniel@iogearbox.net> (raw)

These are two fixes for BPF, one to introduce xmit recursion limiter for
tc bpf programs and the other one to reject filters a bit earlier. For
more details please see individual patches. I have no strong opinion
to which tree they should go, they apply to both, but I think net-next
seems okay to me.

Thanks!

Daniel Borkmann (2):
  bpf: enforce recursion limit on redirects
  bpf: reject wrong sized filters earlier

 include/linux/netdevice.h |  2 ++
 net/core/dev.c            |  6 ++--
 net/core/filter.c         | 78 +++++++++++++++++++++++++++++------------------
 3 files changed, 53 insertions(+), 33 deletions(-)

-- 
1.9.3

             reply	other threads:[~2016-06-10 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 19:19 Daniel Borkmann [this message]
2016-06-10 19:19 ` [PATCH net-next 1/2] bpf: enforce recursion limit on redirects Daniel Borkmann
2016-06-10 19:19 ` [PATCH net-next 2/2] bpf: reject wrong sized filters earlier Daniel Borkmann
2016-06-11  1:01 ` [PATCH net-next 0/2] bpf: couple of fixes 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.1465578089.git.daniel@iogearbox.net \
    --to=daniel@iogearbox$(echo .)net \
    --cc=alexei.starovoitov@gmail$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=hannes@stressinduktion$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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