Merge branch 'bpf-sk-msg-peek'
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 17 Oct 2018 00:30:32 +0000 (02:30 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 17 Oct 2018 00:30:33 +0000 (02:30 +0200)
commit44d520eb17cd5fd7a3ac28b9d872e655c3920021
tree91c572d5fd4344b131082e7a1e5e033245dc21b8
parent3f4c3127d332000530349db4843deece27fe5e0c
parent753fb2ee09345e0730e610b2ee3a01964fe22a63
Merge branch 'bpf-sk-msg-peek'

John Fastabend says:

====================
This adds support for the MSG_PEEK flag when redirecting into
an ingress psock sk_msg queue.

The first patch adds some base support to the helpers, then the
feature, and finally we add an option for the test suite to do
a duplicate MSG_PEEK call on every recv to test the feature.

With duplicate MSG_PEEK call all tests continue to PASS.
====================

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>