diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2019-01-23 12:37:19 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-01-23 12:22:22 +0100 |
commit | c9e4576743eeda8d24dedc164d65b78877f9a98c (patch) | |
tree | 0a9240f86f043b2e67ff4cb0641f33ffd9989afc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b0ca5ecb8e2279d706261f525f1bd0ba9e3fe800 (diff) |
bpf: sock recvbuff must be limited by rmem_max in bpf_setsockopt()
When sock recvbuff is set by bpf_setsockopt(), the value must by
limited by rmem_max. It is the same with sendbuff.
Fixes: 8c4b4c7e9ff0 ("bpf: Add setsockopt helper function to bpf")
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions