diff options
author | Kuniyuki Iwashima <[email protected]> | 2022-01-04 10:31:48 +0900 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-05 14:15:42 -0800 |
commit | 04c350b1ae6bdb12b84009a4d0bf5ab4e621c47b (patch) | |
tree | 6cde31e1e89f7e4d8b7e8e6e2017c0d59a58b494 /tools/perf/scripts/python/check-perf-trace.py | |
parent | a5bebc4f00dee47113eed48098c68e88b5ba70e8 (diff) |
bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
The commit 4057765f2dee ("sock: consistent handling of extreme
SO_SNDBUF/SO_RCVBUF values") added a change to prevent underflow
in setsockopt() around SO_SNDBUF/SO_RCVBUF.
This patch adds the same change to _bpf_setsockopt().
Fixes: 4057765f2dee ("sock: consistent handling of extreme SO_SNDBUF/SO_RCVBUF values")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions