diff options
author | Matteo Croce <mcroce@redhat.com> | 2018-02-21 01:31:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-21 23:50:57 +0100 |
commit | 94333fac44d1da19ebdf41704780c1af3cabea61 (patch) | |
tree | 7736c274474f4c93578cd0f4676cf40381b20866 /drivers/net/Kconfig | |
parent | net: Allow a rule to track originating protocol (diff) | |
download | linux-94333fac44d1da19ebdf41704780c1af3cabea61.tar.xz linux-94333fac44d1da19ebdf41704780c1af3cabea61.zip |
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--- |