diff options
| author | Martin KaFai Lau <[email protected]> | 2022-08-16 23:17:30 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-08-18 17:06:12 -0700 |
| commit | cb388e7ee3a824250a66b854adae9f03b70956f1 (patch) | |
| tree | 4e3cbdab9787702358e948bf85c3fe90bf018933 /tools/perf/scripts/python/libxed.py | |
| parent | e42c7beee71d0d84a6193357e3525d0cf2a3e168 (diff) | |
bpf: net: Change do_tcp_setsockopt() to use the sockopt's lock_sock() and capable()
Similar to the earlier patch that avoids sk_setsockopt() from
taking sk lock and doing capable test when called by bpf. This patch
changes do_tcp_setsockopt() to use the sockopt_{lock,release}_sock()
and sockopt_[ns_]capable().
Reviewed-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions