Revision d61746b2e71bf612fb397b00242de5df5ba7f29a authored by Steffen Klassert on 22 September 2014, 07:11:08 UTC, committed by David S. Miller on 26 September 2014, 04:41:30 UTC
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@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b94d525
History

back to top