From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96531C43381 for ; Fri, 15 Feb 2019 17:53:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6708C206B7 for ; Fri, 15 Feb 2019 17:53:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=posk.io header.i=@posk.io header.b="MQWlb3is" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729662AbfBORx5 (ORCPT ); Fri, 15 Feb 2019 12:53:57 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34186 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729256AbfBORx5 (ORCPT ); Fri, 15 Feb 2019 12:53:57 -0500 Received: by mail-ed1-f67.google.com with SMTP id b3so8708604ede.1 for ; Fri, 15 Feb 2019 09:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posk.io; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cn1xuP0+MOMLQk6JrSdG2ljT71w/E/Up9J9sIee7zq0=; b=MQWlb3istypOpN6dHtFTbSIReq/av6vWq3sbclFp4HY5K42qdod8ula+lR98mgqfWx ZJvrI2WeGKTxeczu4moqsG7AYuNU51FXoJWDvMrpJUZJqGoe69Sd4B8D3QuRNPXBMyn1 Y0XSwdVN6XoDYfciCcqjImQAJbJRSSYwbcYI8K083dlykkHeJ84C99CDu5HPs7f3u/u7 /vfaKHIfvKeJGTe0flZTqDQETN//7ls+PvYG+4YTz32SJDfphOoGKXsHFREw5/H5nwzN CKsD9vcv/3s4DjqcETPxUPFEo1MolV7Uh02FMTndCeGXb7qJjbFUyiJEtRerOotJp25o uatA== 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=Cn1xuP0+MOMLQk6JrSdG2ljT71w/E/Up9J9sIee7zq0=; b=H5xVxUEZB4wOFzbbh1g5yl504QFxSpnpyDlAbove/0cdHfqY5/oV+B35U1f4dtz+Lh 2s/GariJuBU4E8fkRyt6yMXSFMtFdoZabCtNu997pHY5CccphwlPmFwZNnJnCcOLJPrD tTJjdhkIIsoN3lRC/PG2EsztKvlgSGnFU3OURjyTuCT8Y+6ZBMW2sU/tcJPqlz0sZnbC kpeiymD8t+r8hws+oI1hvewkiI2uJdv9c18dSM9Rgsl6xol7V+1o6PfDYh3EnjB2aWgj KKmXu1OsLU8Oecc4q3BbHJFfy9avU4sRS0GxgIF/z6noV5oq64LScNSOePRtocz9NUoh 1Mvg== X-Gm-Message-State: AHQUAuazrfv0TINqw02RoR1ww8VVjh6avGtHJTYGbSPvS6rWmB78QBfi y4C6ij//sO8+eBc9SNOew2Xu2LLP5/rLBkfHbhXDSA== X-Google-Smtp-Source: AHgI3Ian6HzGLHgRfqh6ytWAHGqAC+nJo647jZ5OzIXF9wY8WTCnGsutQu5QyP188XxPhKfgn82iFFOMkOGARr9GyAI= X-Received: by 2002:a50:9938:: with SMTP id k53mr3718786edb.134.1550253235221; Fri, 15 Feb 2019 09:53:55 -0800 (PST) MIME-Version: 1.0 References: <20190215174003.33063-1-posk@google.com> <59bb6b8c-e35c-cf76-d47d-63baa7336021@gmail.com> In-Reply-To: <59bb6b8c-e35c-cf76-d47d-63baa7336021@gmail.com> From: Peter Oskolkov Date: Fri, 15 Feb 2019 09:53:44 -0800 Message-ID: Subject: Re: [PATCH bpf-next] bpf: make LWTUNNEL_BPF dependent on INET To: Eric Dumazet Cc: Peter Oskolkov , Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Feb 15, 2019 at 9:46 AM Eric Dumazet wrote: > > > > On 02/15/2019 09:40 AM, Peter Oskolkov wrote: > > Lightweight tunnels are L3 constructs that are used with IP/IP6. > > Make the dependency explicit at least for LWT-BPF, as now they > > call into IP routing. > > > > Signed-off-by: Peter Oskolkov > > --- > > net/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/net/Kconfig b/net/Kconfig > > index 5cb9de1aaf88..62da6148e9f8 100644 > > --- a/net/Kconfig > > +++ b/net/Kconfig > > @@ -403,7 +403,7 @@ config LWTUNNEL > > > > config LWTUNNEL_BPF > > bool "Execute BPF program as route nexthop action" > > - depends on LWTUNNEL > > + depends on LWTUNNEL && INET > > default y if LWTUNNEL=y > > ---help--- > > Allows to run BPF programs as a nexthop action following a route > > > > It seems you forgot a 'Reported-by:' tag Fixed: https://patchwork.ozlabs.org/patch/1043108/ > > Thanks.