]> git.baikalelectronics.ru Git - kernel.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)
commitbb58b4adcaf8e48a71bf4faaf638beb9e24a466a
treebba2031049e20cce4e5ff3d21f6749c6b9e625b5
parent446c1402525c215fb0b25e34058986b274cd16f2
parent3fe8d26b6c59dff9bf70477ecab3162e4dee8ec9
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>