diff options
author | John Fastabend <john.fastabend@gmail.com> | 2018-01-22 21:36:53 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-24 12:46:59 +0300 |
commit | ede154776c8bf5b1032b1d619db15485b9f34387 (patch) | |
tree | 29c4e3e041182d7ce8172bbdb895dbcb890b8698 /samples/statx | |
parent | ce5373be1aeac7889eb31f4bcf2b1dc2ad3c263c (diff) | |
download | linux-ede154776c8bf5b1032b1d619db15485b9f34387.tar.xz |
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 'samples/statx')
0 files changed, 0 insertions, 0 deletions