Commit 265de6d1 authored by Mahesh Bandewar's avatar Mahesh Bandewar Committed by David S. Miller

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: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarMahesh Bandewar <maheshb@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 60b7379d
...@@ -148,6 +148,8 @@ config MACVTAP ...@@ -148,6 +148,8 @@ config MACVTAP
config IPVLAN config IPVLAN
tristate "IP-VLAN support" tristate "IP-VLAN support"
depends on INET
depends on IPV6
---help--- ---help---
This allows one to create virtual devices off of a main interface 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) and packets will be delivered based on the dest L3 (IPv6/IPv4 addr)
......
...@@ -23,8 +23,9 @@ ...@@ -23,8 +23,9 @@
#include <linux/if_vlan.h> #include <linux/if_vlan.h>
#include <linux/ip.h> #include <linux/ip.h>
#include <linux/inetdevice.h> #include <linux/inetdevice.h>
#include <net/ip.h>
#include <net/ip6_route.h>
#include <net/rtnetlink.h> #include <net/rtnetlink.h>
#include <net/gre.h>
#include <net/route.h> #include <net/route.h>
#include <net/addrconf.h> #include <net/addrconf.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment