From: Matteo Croce Subject: [PATCH 3/3] ipvlan: selects master_l3 device instead of depending on it Date: Wed, 14 Feb 2018 19:13:45 +0100 Message-ID: <20180214181345.6368-4-mcroce@redhat.com> References: <20180214181345.6368-1-mcroce@redhat.com> Cc: Mahesh Bandewar To: netdev@vger.kernel.org Return-path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:46350 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161695AbeBNSNw (ORCPT ); Wed, 14 Feb 2018 13:13:52 -0500 Received: by mail-wr0-f194.google.com with SMTP id 34so862302wre.13 for ; Wed, 14 Feb 2018 10:13:51 -0800 (PST) In-Reply-To: <20180214181345.6368-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 64d3017ecd01..3dd8a6a6a336 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -149,7 +149,7 @@ config MACVTAP config IPVLAN tristate "IP-VLAN support" depends on INET - 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