Re: [bpf-next PATCH v3 6/7] bpf: sockmap put client sockets in blocking mode

Martin KaFai Lau
2018-01-13T07:34:59Z

On Thu, Jan 11, 2018 at 09:07:45PM -0800, John Fastabend wrote:
> Put client sockets in blocking mode otherwise with sendmsg tests
> its easy to overrun the socket buffers which results in the test
> being aborted.
>
> The original non-blocking was added to handle listen/accept with
> a single thread the client/accepted sockets do not need to be
> non-blocking.
>
> Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>