From patchwork Wed Feb 13 16:55:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 1041450 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="iA1FYQcr"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4405HL2d6lz9s1l for ; Thu, 14 Feb 2019 03:55:10 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392794AbfBMQzI (ORCPT ); Wed, 13 Feb 2019 11:55:08 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:58228 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388561AbfBMQzI (ORCPT ); Wed, 13 Feb 2019 11:55:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gcQDCJHjNH9aivNFLYkARYuIpoMjrF3T1ggEK6Dj6qw=; b=iA1FYQcrFzGE8GSTNzIuI30eL AoH++xrVwi59j+IDuhbxeCBXfoP6JIkpFA/vLiO1NIcGWO2iT/3zIy3KuFJBnRTx0JN635gU94/MI xezKlj35UC20QYzwJLu7k2DgTUebJZmIfhC5dWeEhWRWUPl7jZd7ZcEe+/5o8ChdNrVGqi3bDPmEM EDX3O+eB45Hi2q6oa1yL4ig2eOB/Lx2sgBxBfO8kEAYa1ukW9VcYDACM4wtcswukj8wkvglHUorBn YCPUWW2W/xkvziLfXsjW1udt5vhv8KVxiXNkX8rWOQTNa36zJky0cYIr0QmBH3mBSf8YqGY+/kO6R iCl/LTUxw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtxoN-0002Co-56; Wed, 13 Feb 2019 16:55:03 +0000 To: "netdev@vger.kernel.org" Cc: Mahesh Bandewar , Daniel Borkmann , David Miller From: Randy Dunlap Subject: [PATCH -next] net: ipvlan_l3s: fix kconfig dependency warning Message-ID: <204a7785-a1d2-e714-653e-2cb19e36f279@infradead.org> Date: Wed, 13 Feb 2019 08:55:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Randy Dunlap Fix the kconfig warning in IPVLAN_L3S when neither INET nor IPV6 is enabled: WARNING: unmet direct dependencies detected for NET_L3_MASTER_DEV Depends on [n]: NET [=y] && (INET [=n] || IPV6 [=n]) Selected by [y]: - IPVLAN_L3S [=y] && NETDEVICES [=y] && NET_CORE [=y] && NETFILTER [=y] Signed-off-by: Randy Dunlap Cc: Mahesh Bandewar Cc: Daniel Borkmann Acked-by: Daniel Borkmann --- v2: simplify the dependency to IPVLAN Seen in mmotm but applies to linux-next. drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20190213.orig/drivers/net/Kconfig +++ linux-next-20190213/drivers/net/Kconfig @@ -147,6 +147,7 @@ config MACVTAP config IPVLAN_L3S depends on NETFILTER + depends on IPVLAN def_bool y select NET_L3_MASTER_DEV