[bpf-next PATCH 0/3] sockmap support for msg_peek flag

2018-10-16 Thread John Fastabend
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 M

Re: [bpf-next PATCH 0/3] sockmap support for msg_peek flag

2018-10-16 Thread Alexei Starovoitov
On Tue, Oct 16, 2018 at 11:07:54AM -0700, John Fastabend wrote: > 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

Re: [bpf-next PATCH 0/3] sockmap support for msg_peek flag

2018-10-16 Thread Daniel Borkmann
On 10/16/2018 08:41 PM, Alexei Starovoitov wrote: > On Tue, Oct 16, 2018 at 11:07:54AM -0700, John Fastabend wrote: >> 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, an