]> 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)
commit76405a9d02d3f6f53928161656e022920e207d01
treebba2031049e20cce4e5ff3d21f6749c6b9e625b5
parentd6ddc0b3b95e17dd59aed8459789be9852e92202
parent7b031edce4e4a475163c240c3d954809947bc28c
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>