ipvlan: ipvlan depends on INET and IPV6
Subsystems (2)
PATCH 1/1 ipvlan: ipvlan depends on INET and IPV6
This driver uses ip_out_local() and ip6_route_output() which are defined only if CONFIG_INET and CONFIG_IPV6 are enabled respectively.
Reported-by Jim Davis <[email protected]>
Signed-off-by Mahesh Bandewar <[email protected]>
--- drivers/net/Kconfig | 2 ++ drivers/net/ipvlan/ipvlan.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-)
drivers/net/Kconfig +2 -0
@@ -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)
drivers/net/ipvlan/ipvlan.h +2 -1
@@ -23,8 +23,9 @@#include <linux/if_vlan.h> #include <linux/ip.h> #include <linux/inetdevice.h> +#include <net/ip.h> +#include <net/ip6_route.h> #include <net/rtnetlink.h> -#include <net/gre.h> #include <net/route.h> #include <net/addrconf.h>
Signature · 1 line
2.2.0.rc0.207.ga3a616c
From: Mahesh Bandewar <[email protected]>
Date: Wed, 26 Nov 2014 21:13:45 -0800
Quoted 5 lines
This driver uses
ip_out_local()andip6_route_output()which are defined only ifCONFIG_INETandCONFIG_IPV6are enabled respectively.Reported-by Jim Davis <[email protected]>Signed-off-by Mahesh Bandewar <[email protected]>
Applied, thanks for fixing this.