summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-09-22 10:07:25 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-28 16:19:46 -0400
commitd814b847be7b47575a1cc2194760d3461e1c43c8 (patch)
treebd1c67a308488c25dfb2c407d4cf0aa1760ffdbd /usr
parent2b0bb01b6edb3e13c7f71e43bf3a173a795b7b66 (diff)
ip6_vti: Return an error when adding an existing tunnel.
vti6_locate() should not return an existing tunnel if create is true. Otherwise it is possible to add the same tunnel multiple times without getting an error. So return NULL if the tunnel that should be created already exists. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions