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)
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>

Trivial merge