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)
commit4fddbf5d7854b0a615c6481988895016f5d038d2
tree7f8424937f50c198b3efef5459c7da78ee493695
parent8db99e5717507729a9eb49108facb7e528340376
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