sit: Fail to create tunnel, if it already exists
commit8db99e5717507729a9eb49108facb7e528340376
authorSascha Hlusiak <contact@saschahlusiak.de>
Tue, 19 May 2009 12:56:48 +0000 (19 12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 23:02:00 +0000 (19 16:02 -0700)
treeba0ed4ecdb3386540bdcbb4bc6af14e1ad9166f5
parent9643f4551255ce8b3ef7470aaaf7f435a20f9182
sit: Fail to create tunnel, if it already exists

When locating the tunnel, do not continue if it is found. Otherwise
a different tunnel with similar configuration would be returned and
parts could be overwritten.

Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c