Merge branch 'bpf-zero-hash-seed'
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 19 Nov 2018 23:53:40 +0000 (00:53 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 19 Nov 2018 23:53:41 +0000 (00:53 +0100)
commitbbe5d311be6624d15df1d060094cfcb3259f3ccd
treed134d18f7e5d8932d474d5765ed07b051fc31360
parent23499442c319412aa8e54e7a939e2eb531bdd77d
parentbf5d68c7304008ef838f1a2ca1aae8fab74d633d
Merge branch 'bpf-zero-hash-seed'

Lorenz Bauer says:

====================
Allow forcing the seed of a hash table to zero, for deterministic
execution during benchmarking and testing.

Changes from v2:
* Change ordering of BPF_F_ZERO_SEED in linux/bpf.h

Comments adressed from v1:
* Add comment to discourage production use to linux/bpf.h
* Require CAP_SYS_ADMIN
====================

Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>