https://github.com/torvalds/linux
Revision d814b847be7b47575a1cc2194760d3461e1c43c8 authored by Steffen Klassert on 22 September 2014, 08:07:25 UTC, committed by David S. Miller on 28 September 2014, 20:19:46 UTC
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>
1 parent 2b0bb01
History
Tip revision: d814b847be7b47575a1cc2194760d3461e1c43c8 authored by Steffen Klassert on 22 September 2014, 08:07:25 UTC
ip6_vti: Return an error when adding an existing tunnel.
Tip revision: d814b84
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 279.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top