Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp804087ybg; Mon, 1 Jun 2020 15:07:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3gqLujjcQGj2QWUjbmDZWGVPd+uTVTbc5w3/yOIt6vEGHH9Jv8DlIq1JleQgX6XXkUzuh X-Received: by 2002:a17:906:55c9:: with SMTP id z9mr6958069ejp.276.1591049233507; Mon, 01 Jun 2020 15:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591049233; cv=none; d=google.com; s=arc-20160816; b=pnBWCtzQYW08F0FNlb7E16CIzl9OXvmIRTJRmjmYfGsf5qk4ZXVblyCX7aIiIEzsAZ t3lTIB5a/0Hu1QWbieMg9fkWFC/aOl36xpXlddkcxEe/9xijoO9rMrTovw+JF83oYdPH bLGMuucN9lWOJAUcVwH2HNOiobtIOkPDFt72YcPu8rTyhIFyGSfCaujS6EchifqFG9AA CDa38iHDOe+1C6cb01LrKkX5z04SNeBkYdf8PkZWtutFM4iSeP4htwcrYhk5V3mbKwS1 1rm727zlok1BjiTvceAWT+WdPFK7Uhc6fvhWoiz8U/I2vhF2WZ2p3lk1xkxJJjgZgYmC ihsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=28IDDw8HM/QpEtquXlco0ovqKhcVd+N9TrIHHVHfSZc=; b=X3GYRfGpDJdTLRmg9meiEay2MI9HNbeD+3lmmiPGqPzaV0OiM5Qvvz4mylQZrrTldR 0OyVnTsZjyM6AgHzr8ADB6SBLiUbBqdYODorHYNE5Be/EQRA4wxX/7NjazkxrJWeQS3B N4gYlafu2nZGSnnt1fD8JO+ZWDT6YsjyeNcEH192KI+Uf4yP2j0GvfVcxo1dnQTwseAh ELiDcRN/ro/ZfEq2JZd0+CcvyNii2JoEb+f4rKG4mLJbEvr2B2dvpytImfR6clJERZ2U mIDMuWSrcVDXoMxcCpyDchQ5os97i8ZnZAcaFzKxr7QZKbsD4H+IrFti4fps0nCcYAIt Txsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N0WYEz0m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p20si420397ejg.263.2020.06.01.15.06.50; Mon, 01 Jun 2020 15:07:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N0WYEz0m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729116AbgFAWCV (ORCPT + 99 others); Mon, 1 Jun 2020 18:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728336AbgFAWCU (ORCPT ); Mon, 1 Jun 2020 18:02:20 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E66BC061A0E; Mon, 1 Jun 2020 15:02:20 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id z6so10048717ljm.13; Mon, 01 Jun 2020 15:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=28IDDw8HM/QpEtquXlco0ovqKhcVd+N9TrIHHVHfSZc=; b=N0WYEz0mVwPtvxMgILf0uU9UOt7cknWnAKxxl/JVG+o2pJHHQHI2VeaTLbv8wirlf4 cmeUvmOlS+iLpu2Ay4fUt9eSHuy5MfWnb+v+hFGFxdg8YnjUNu5IUJGFLLtoQqBKvG6q DoN8o3zlVaNhyCFztWK19QJ/DW8CUgiuULvYW6erl97TlDRNRpy0+Lx+5zVSdTPWML9p +ek8+QlRInSt9ymZjbV5QGj2d6PUjP3L8iNGhR7BiRx4TjlVloUCYAZqgCGlOMTvsBzW XWiSgD2hdIymKBxNFfYlacjphRLNI62lyHy3D5fyCZKvoJUh3PhMGaw6JnS01254hGcZ xX5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=28IDDw8HM/QpEtquXlco0ovqKhcVd+N9TrIHHVHfSZc=; b=rYxPZJjXUN9B7OIFnXay3zTVTKYz7JEtPiiaCE5Rj1EC1/yRH+s62DhMkxQnVMBMYr 56TEKzRfOjTts5f0dprGCcjU5q9ECpECSo5K4p1dgrp1ajQp+luNKQujKg+Ouvm/sYsL wB28yDYCAfkapALQK+mBWeB+Zw5n5zy2MrcBl+bB28tlmXyWmqr6FctInvswyKU3jM65 1a5U6JHdQq4JLeflN52feRGAxCBbYnNmPd/M2AZ20jZizixbFwBuyEIivBqiTuNjnPpK awemPm5CAy4WjjabM2mEPHjD3F1DWX/o5Mo+63te4PHxIriCq+OcpHWA+/3l+E1q9FY+ FORg== X-Gm-Message-State: AOAM533mi1rIoqug2uvfkojkhGGqR7BOdRQOVwfuYit0GysFCrubU0Fh Jxi8yzwjedGougyqDM+ePLkXAWFrbqr04tUBIRU= X-Received: by 2002:a2e:150e:: with SMTP id s14mr11038853ljd.290.1591048938509; Mon, 01 Jun 2020 15:02:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexei Starovoitov Date: Mon, 1 Jun 2020 15:02:07 -0700 Message-ID: Subject: Re: [PATCH v2 net-next 0/3] Extending bpf_setsockopt with SO_BINDTODEVICE sockopt To: Ferenc Fejes Cc: Network Development , bpf , LKML , Andrii Nakryiko , Stanislav Fomichev , Martin KaFai Lau , "David S . Miller" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 30, 2020 at 2:11 PM Ferenc Fejes wrote: > > 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 Applied. Thanks