diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-12-02 22:25:11 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-12-02 22:25:25 +0100 |
commit | 9e83f54f532bf2e66f6808922a4646cab7123033 (patch) | |
tree | 735cc1abe156fcd9e5c9edb3cf4b62ffd873ba31 /fs | |
parent | net, xdp, xsk: fix __sk_mark_napi_id_once napi_id error (diff) | |
parent | selftests/bpf: Extend bind{4,6} programs with a call to bpf_setsockopt (diff) | |
download | linux-9e83f54f532bf2e66f6808922a4646cab7123033.tar.xz linux-9e83f54f532bf2e66f6808922a4646cab7123033.zip |
Merge branch 'bpf: expose bpf_{s,g}etsockopt helpers to bind{4,6} hooks'
Stanislav Fomichev says:
====================
This might be useful for the listener sockets to pre-populate
some options. Since those helpers require locked sockets,
I'm changing bind hooks to lock/unlock the sockets. This
should not cause any performance overhead because at this
point there shouldn't be any socket lock contention and the
locking/unlocking should be cheap.
Also, as part of the series, I convert test_sock_addr bpf
assembly into C (and preserve the narrow load tests) to
make it easier to extend with th bpf_setsockopt later on.
v2:
* remove version from bpf programs (Andrii Nakryiko)
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions