[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYO-1UsmO6r3x2C95xLj+Lxg73c0hKF8-ZEnA8Bqy=pvg@mail.gmail.com>
Date: Thu, 21 May 2020 12:09:45 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Ferenc Fejes <fejes@....elte.hu>
Cc: Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
Martin KaFai Lau <kafai@...com>,
Lawrence Brakmo <brakmo@...com>,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next] Extending bpf_setsockopt with SO_BINDTODEVICE sockopt
On Thu, May 21, 2020 at 5:54 AM Ferenc Fejes <fejes@....elte.hu> wrote:
>
> This option makes 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 eBPF sock_ops program.
> This let the applications benefit from the multiple possible routes.
>
> Signed-off-by: Ferenc Fejes <fejes@....elte.hu>
> ---
> net/core/filter.c | 39 ++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 38 insertions(+), 1 deletion(-)
>
I'll let more networking-familiar folks to comment on functionality,
but features like this needs tests in selftest/bpf.
> diff --git a/net/core/filter.c b/net/core/filter.c
> index 822d662f97ef..25dac75bfc5d 100644
> --- a/net/core/filter.c
> +++ b/net/core/filter.c
[...]
Powered by blists - more mailing lists