]> git.baikalelectronics.ru Git - kernel.git/commit
sit: Fail to create tunnel, if it already exists
authorSascha Hlusiak <contact@saschahlusiak.de>
Tue, 19 May 2009 12:56:48 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 23:02:00 +0000 (16:02 -0700)
commit23a7192c3eba18750f876a097ba00ccba6c62a03
treeba0ed4ecdb3386540bdcbb4bc6af14e1ad9166f5
parentf8b570bebf4a3fc0c141e1b4681fcd248baafb60
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