summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2018-02-21 01:31:13 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-21 17:50:57 -0500
commit94333fac44d1da19ebdf41704780c1af3cabea61 (patch)
tree7736c274474f4c93578cd0f4676cf40381b20866 /drivers/net/Kconfig
parentcac56209a66ea3b0be67aa2966b2c628b944da1e (diff)
downloadlinux-94333fac44d1da19ebdf41704780c1af3cabea61.tar.bz2
ipvlan: drop ipv6 dependency
IPVlan has an hard dependency on IPv6, refactor the ipvlan code to allow compiling it with IPv6 disabled, move duplicate code into addr_equal() and refactor series of if-else into a switch. Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 944ec3c9282c..3234c6618d75 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -149,7 +149,6 @@ config MACVTAP
config IPVLAN
tristate "IP-VLAN support"
depends on INET
- depends on IPV6
depends on NETFILTER
depends on NET_L3_MASTER_DEV
---help---