Re: [PATCH v3 net-next 1/2] ipvlan: drop ipv6 dependency

2018-02-19 Thread David Miller
From: Matteo Croce Date: Mon, 19 Feb 2018 11:33:37 +0100 > 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 > --- > v3

[PATCH v3 net-next 1/2] ipvlan: drop ipv6 dependency

2018-02-19 Thread Matteo Croce
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 --- v3: more descriptive commit message and fix checkpatch.pl warnings driver