]> git.baikalelectronics.ru Git - kernel.git/commit
sit: strictly restrict incoming traffic to tunnel link device
authorSascha Hlusiak <contact@saschahlusiak.de>
Tue, 19 May 2009 12:56:49 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 23:02:00 +0000 (16:02 -0700)
commit224d3c630fe51d55de56878ed8573f60d9e3aeaf
tree7f8424937f50c198b3efef5459c7da78ee493695
parent23a7192c3eba18750f876a097ba00ccba6c62a03
sit: strictly restrict incoming traffic to tunnel link device

Check link device when looking up a tunnel. When a tunnel is
linked to a interface, traffic from a different interface must not
reach the tunnel.

This also allows creating of multiple tunnels with the same
endpoints, if the link device differs.

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