]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Merge branch 'bpf_setsockopt-SO_BINDTODEVICE'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 21:57:15 +0000 (14:57 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 22:00:20 +0000 (15:00 -0700)
commitc48a24f00e7a8b90c817e3f7aa800a3150bb83d0
treebba2031049e20cce4e5ff3d21f6749c6b9e625b5
parentbb2359f4dbe98e8863b4e885fc09269ef4682ec3
parent9c441fe4c06a553ad770b6f21616327a3badf793
Merge branch 'bpf_setsockopt-SO_BINDTODEVICE'

Ferenc Fejes says:

====================
This option makes it possible to programatically bind sockets
to netdevices. With the help of this option sockets
of VRF unaware applications could be distributed between
multiple VRFs with an eBPF program. This lets the applications
benefit from multiple possible routes.

v2:
- splitting up the patch to three parts
- lock_sk parameter for optional locking in sock_bindtoindex - Stanislav Fomichev
- testing the SO_BINDTODEVICE option - Andrii Nakryiko
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>