diff options
author | Ferenc Fejes <fejes@inf.elte.hu> | 2020-05-31 00:09:01 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-02 00:57:14 +0300 |
commit | 70c58997c1e864c96dfdf072572047303db8f42a (patch) | |
tree | faa56d742c1bd4f6091fbdd535a043354eae0387 /tools/testing | |
parent | 8ea204c2b658eaef55b4716fde469fb66c589a3d (diff) | |
download | linux-70c58997c1e864c96dfdf072572047303db8f42a.tar.xz |
bpf: Allow SO_BINDTODEVICE opt in bpf_setsockopt
Extending the supported sockopts in bpf_setsockopt with
SO_BINDTODEVICE. We call sock_bindtoindex with parameter
lock_sk = false in this context because we already owning
the socket.
Signed-off-by: Ferenc Fejes <fejes@inf.elte.hu>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/4149e304867b8d5a606a305bc59e29b063e51f49.1590871065.git.fejes@inf.elte.hu
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions