From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: hannes@stressinduktion.org, ast@plumgrid.com,
netdev@vger.kernel.org, Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH net-next 0/5] BPF/random32 updates
Date: Wed, 7 Oct 2015 15:43:51 +0200 [thread overview]
Message-ID: <cover.1444224502.git.daniel@iogearbox.net> (raw)
BPF update to split the prandom state apart, and to move the
*once helpers to the core. For details, please see individual
patches. Given the changes and since it's in the tree for
quite some time, net-next is a better choice in our opinion.
Thanks!
Daniel Borkmann (3):
random32: add prandom_seed_full_state helper
random32: add prandom_init_once helper for own rngs
bpf: split state from prandom_u32() and consolidate {c,e}BPF prngs
Hannes Frederic Sowa (2):
net: move net_get_random_once to lib
once: make helper generic for calling function once
include/linux/bpf.h | 4 ++++
include/linux/net.h | 21 ++++-------------
include/linux/once.h | 35 ++++++++++++++++++++++++++++
include/linux/random.h | 6 +++++
kernel/bpf/core.c | 26 +++++++++++++++++++++
kernel/bpf/helpers.c | 7 +-----
kernel/bpf/syscall.c | 2 ++
lib/Makefile | 3 ++-
lib/once.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++
lib/random32.c | 42 +++++++++++++++++++++-------------
net/core/filter.c | 9 ++------
net/core/utils.c | 49 ---------------------------------------
12 files changed, 170 insertions(+), 96 deletions(-)
create mode 100644 include/linux/once.h
create mode 100644 lib/once.c
--
1.9.3
next reply other threads:[~2015-10-07 13:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 13:43 Daniel Borkmann [this message]
2015-10-07 13:43 ` [PATCH net-next 1/5] net: move net_get_random_once to lib Daniel Borkmann
2015-10-07 13:43 ` [PATCH net-next 2/5] once: make helper generic for calling function once Daniel Borkmann
2015-10-07 16:16 ` Alexei Starovoitov
2015-10-07 21:00 ` Daniel Borkmann
2015-10-07 13:43 ` [PATCH net-next 3/5] random32: add prandom_seed_full_state helper Daniel Borkmann
2015-10-07 13:43 ` [PATCH net-next 4/5] random32: add prandom_init_once helper for own rngs Daniel Borkmann
2015-10-07 16:32 ` Alexei Starovoitov
2015-10-07 13:43 ` [PATCH net-next 5/5] bpf: split state from prandom_u32() and consolidate {c,e}BPF prngs Daniel Borkmann
2015-10-07 16:38 ` Alexei Starovoitov
2015-10-07 21:01 ` Daniel Borkmann
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.1444224502.git.daniel@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=ast@plumgrid.com \
--cc=davem@davemloft.net \
--cc=hannes@stressinduktion.org \
--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).