diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b6d64f546574aa223a0be4334c6cd07246aebdca..d6607ee9c85506bb4fcc5d2077b8dc4e582d4b4b 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -148,6 +148,8 @@ config MACVTAP config IPVLAN tristate "IP-VLAN support" + depends on INET + depends on IPV6 ---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) diff --git a/drivers/net/ipvlan/ipvlan.h b/drivers/net/ipvlan/ipvlan.h index ab3e7614ed71065b6183f86ca29ef62ab6d28641..c44d29eca6c0fd5cbefb723eb016535fa7a900fc 100644 --- a/drivers/net/ipvlan/ipvlan.h +++ b/drivers/net/ipvlan/ipvlan.h @@ -23,8 +23,9 @@ #include #include #include +#include +#include #include -#include #include #include