]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: drop ipv6 dependency
authorMatteo Croce <mcroce@redhat.com>
Wed, 21 Feb 2018 00:31:13 +0000 (01:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 22:50:57 +0000 (17:50 -0500)
commit5905950e34b88f46dccc1278ef3990ec3ebd6acd
tree7736c274474f4c93578cd0f4676cf40381b20866
parent20d49159811368c44e64416432f8beca5ec4674e
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>
drivers/net/Kconfig
drivers/net/ipvlan/ipvlan_core.c
drivers/net/ipvlan/ipvlan_main.c