From: Daniel Borkmann <dborkman@redhat.com>
To: davem@davemloft.net
Cc: ast@plumgrid.com, netdev@vger.kernel.org
Subject: [PATCH net-next v2 0/5] BPF updates
Date: Thu, 24 Apr 2014 08:45:22 +0200 [thread overview]
Message-ID: <1398321927-8845-1-git-send-email-dborkman@redhat.com> (raw)
I had these cleanups still in my queue before the merge window.
The set is against net-next tree, but with 83d5b7ef99 ("net: filter:
initialize A and X registers") applied on top of it, so a merge
of net into net-next would be required *before* applying this set.
The main objective for these updates is that we get the code
a bit more readable/comprehensible and avoid one additional
instruction in the interpreter during fast-path.
Tested with Alexei's BPF test suite and seccomp test suite, no
issues found.
Thanks!
v1->v2:
- Only changed patch 5 as to suggestion from Alexei
- Rest is the same
Daniel Borkmann (5):
net: filter: simplify label names from jump-table
net: filter: misc/various cleanups
net: filter: get rid of sock_fprog_kern
net: filter: make register namings more comprehensible
net: filter: optimize BPF migration for ARG1/CTX handling
include/linux/filter.h | 60 ++++--
net/core/filter.c | 568 ++++++++++++++++++++++++-------------------------
net/core/sock_diag.c | 4 +-
3 files changed, 329 insertions(+), 303 deletions(-)
--
1.7.11.7
next reply other threads:[~2014-04-24 6:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 6:45 Daniel Borkmann [this message]
2014-04-24 6:45 ` [PATCH net-next v2 1/5] net: filter: simplify label names from jump-table Daniel Borkmann
2014-04-24 6:45 ` [PATCH net-next v2 2/5] net: filter: misc/various cleanups Daniel Borkmann
2014-04-24 20:00 ` David Miller
2014-04-25 7:52 ` Daniel Borkmann
2014-04-24 6:45 ` [PATCH net-next v2 3/5] net: filter: get rid of sock_fprog_kern Daniel Borkmann
2014-04-24 20:02 ` David Miller
2014-04-25 7:58 ` Daniel Borkmann
2014-04-24 6:45 ` [PATCH net-next v2 4/5] net: filter: make register namings more comprehensible Daniel Borkmann
2014-04-24 6:45 ` [PATCH net-next v2 5/5] net: filter: optimize BPF migration for ARG1/CTX handling Daniel Borkmann
2014-04-24 15:43 ` Alexei Starovoitov
2014-04-24 20:04 ` David Miller
2014-04-26 18:06 ` Alexei Starovoitov
-- strict thread matches above, loose matches on Subject: below --
2015-10-29 13:58 [PATCH net-next v2 0/5] BPF updates Daniel Borkmann
2015-11-01 17:16 ` David Miller
2015-11-03 3:48 ` 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=1398321927-8845-1-git-send-email-dborkman@redhat.com \
--to=dborkman@redhat.com \
--cc=ast@plumgrid.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).