summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-09-22 09:11:08 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-26 00:41:30 -0400
commitd61746b2e71bf612fb397b00242de5df5ba7f29a (patch)
tree9a1c59c0c7fa60a3bc2c86c8e918addd14ab6d15 /drivers/net
parentb94d525e58dc9638dd3f98094cb468bcfb262039 (diff)
ip_tunnel: Don't allow to add the same tunnel multiple times.
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions