[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141102114917.5529d99a@urahara>
Date: Sun, 2 Nov 2014 11:49:17 -0800
From: Stephen Hemminger <shemming@...cade.com>
To: Alexey Andriyanov <alan@...an.info>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH] iproute2: ip6_tunnel mode bugfixes: any,vti6
On Wed, 29 Oct 2014 09:19:30 +0300
"Alexey Andriyanov" <alan@...an.info> wrote:
> - any ipv6 tunnel mode (proto == 0) could not be set
> due to incomplete set of cases in do_add, do_del.
> - vti6 logic was inverted: it was using "ip6_vti0" basedev
> UNLESS mode is set to vti6.
>
> We don't need a switch by p.proto in do_add()/do_del(): it
> already exists in parse_args(). So if parse_args() call
> was successful, no need to check tunnel mode again.
>
> CC: Stephen Hemminger <shemming@...cade.com>
> Signed-off-by: Alexey Andriyanov <alan@...an.info>
Accepted
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists