[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140611.004350.1837802675812645079.davem@davemloft.net>
Date: Wed, 11 Jun 2014 00:43:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ixaphire@...tor.net
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, steffen.klassert@...unet.com,
herbert@...dor.apana.org.au, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ip_tunnel: fix i_key matching in ip_tunnel_find
From: Dmitry Popov <ixaphire@...tor.net>
Date: Sun, 8 Jun 2014 03:03:08 +0400
> Some tunnels (though only vti as for now) can use i_key just for internal use:
> for example vti uses it for fwmark'ing incoming packets. So raw i_key value
> shouldn't be treated as a distinguisher for them. ip_tunnel_key_match exists for
> cases when we want to compare two ip_tunnel_parms' i_keys.
>
> Example bug:
> ip link add type vti ikey 1 local 1.0.0.1 remote 2.0.0.2
> ip link add type vti ikey 2 local 1.0.0.1 remote 2.0.0.2
> spawned two tunnels, although it doesn't make sense.
>
> Signed-off-by: Dmitry Popov <ixaphire@...tor.net>
Applied, thanks.
--
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