Revision 2b0bb01b6edb3e13c7f71e43bf3a173a795b7b66 authored by Steffen Klassert on 22 September 2014, 08:07:24 UTC, committed by David S. Miller on 28 September 2014, 20:19:46 UTC
ip6_tnl_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 5a4ee9a
History
File Mode Size
kvm

back to top