diff options
author | Matteo Croce <mcroce@redhat.com> | 2018-02-21 03:31:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-22 01:50:57 +0300 |
commit | 94333fac44d1da19ebdf41704780c1af3cabea61 (patch) | |
tree | 7736c274474f4c93578cd0f4676cf40381b20866 /drivers/net/Kconfig | |
parent | cac56209a66ea3b0be67aa2966b2c628b944da1e (diff) | |
download | linux-94333fac44d1da19ebdf41704780c1af3cabea61.tar.xz |
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/Kconfig | 1 |
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--- |