diff options
author | Hou Tao <[email protected]> | 2022-08-10 16:05:34 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-08-10 10:12:48 -0700 |
commit | 52bd05eb7c88e1ad8541a48873188ccebca9da26 (patch) | |
tree | 7975da978dd08673c361bc396bc9a47eda2649b5 /scripts/gdb/linux/utils.py | |
parent | f0d2b2716d71778d0b0c8eaa433c073287d69d93 (diff) |
bpf: Check the validity of max_rdwr_access for sock local storage map iterator
The value of sock local storage map is writable in map iterator, so check
max_rdwr_access instead of max_rdonly_access.
Fixes: 5ce6e77c7edf ("bpf: Implement bpf iterator for sock local storage map")
Signed-off-by: Hou Tao <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions