commit | 94333fac44d1da19ebdf41704780c1af3cabea61 | [log] [tgz] |
---|---|---|
author | Matteo Croce <mcroce@redhat.com> | Wed Feb 21 01:31:13 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 21 17:50:57 2018 -0500 |
tree | 7736c274474f4c93578cd0f4676cf40381b20866 | |
parent | cac56209a66ea3b0be67aa2966b2c628b944da1e [diff] |
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>