[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140922.164556.736459936247558402.davem@davemloft.net>
Date: Mon, 22 Sep 2014 16:45:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] ip_tunnel: Don't allow to add the same tunnel
multiple times.
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Mon, 22 Sep 2014 09:11:08 +0200
> When we try to add an already existing tunnel, we don't return
> an error. Instead we continue and call ip_tunnel_update().
> This means that we can change existing tunnels by adding
> the same tunnel multiple times. It is even possible to change
> the tunnel endpoints of the fallback device.
>
> We fix this by returning an error if we try to add an existing
> tunnel.
>
> Signed-off-by: Steffen Klassert <steffen.klassert@...unet.com>
> ---
>
> I was not able to find a commit that introduced this bug.
> Looks like ipip and ip_gre had similar bugs already with
> the initial git commit.
I'm not so sure about this, perhaps the behavior of being able to
change a configuration using an ADD call is intentional?
--
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