summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohn Fastabend2018-01-22 19:36:53 +0100
committerDaniel Borkmann2018-01-24 10:46:59 +0100
commitede154776c8bf5b1032b1d619db15485b9f34387 (patch)
tree29c4e3e041182d7ce8172bbdb895dbcb890b8698 /net
parentbpf: sockmap sample add base test without any BPF for comparison (diff)
downloadkernel-qcow2-linux-ede154776c8bf5b1032b1d619db15485b9f34387.tar.gz
kernel-qcow2-linux-ede154776c8bf5b1032b1d619db15485b9f34387.tar.xz
kernel-qcow2-linux-ede154776c8bf5b1032b1d619db15485b9f34387.zip
bpf: sockmap put client sockets in blocking mode
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> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions