ipvlan: selects master_l3 device instead of depending on it
authorMatteo Croce <mcroce@redhat.com>
Wed, 21 Feb 2018 00:31:14 +0000 (01:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 22:50:58 +0000 (17:50 -0500)
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 <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig

index 3234c6618d752612d8c1d9ac9913e1d2a6511c87..d88b78a17440382355592296a830a7270349c495 100644 (file)
@@ -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)