From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matteo Croce Subject: [PATCH v2 net-next 2/2] ipvlan: selects master_l3 device instead of depending on it Date: Sat, 17 Feb 2018 20:11:50 +0100 Message-ID: <20180217191150.7643-3-mcroce@redhat.com> References: <20180217191150.7643-1-mcroce@redhat.com> Cc: David Miller , Mahesh Bandewar , Florian Westphal To: netdev@vger.kernel.org Return-path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:36735 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbeBQTL4 (ORCPT ); Sat, 17 Feb 2018 14:11:56 -0500 Received: by mail-wm0-f67.google.com with SMTP id f3so8513858wmc.1 for ; Sat, 17 Feb 2018 11:11:55 -0800 (PST) In-Reply-To: <20180217191150.7643-1-mcroce@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: The L3 Master device is just a glue between the core networking code and device drivers, so it should be selected automatically rather than requiring to be enabled explicitly. Signed-off-by: Matteo Croce --- drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 3234c6618d75..d88b78a17440 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -150,7 +150,7 @@ config IPVLAN tristate "IP-VLAN support" depends on INET depends on NETFILTER - depends on NET_L3_MASTER_DEV + select NET_L3_MASTER_DEV ---help--- This allows one to create virtual devices off of a main interface and packets will be delivered based on the dest L3 (IPv6/IPv4 addr) -- 2.14.3