diff mbox series

[3/3] ipvlan: selects master_l3 device instead of depending on it

Message ID 20180214181345.6368-4-mcroce@redhat.com
State Rejected, archived
Delegated to: David Miller
Headers show
Series Remove IPVlan module dependencies on IPv6 and Netfilter | expand

Commit Message

Matteo Croce Feb. 14, 2018, 6:13 p.m. UTC
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>
---
 drivers/net/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)