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)
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

diff --cc net/ipv6/sit.c
Simple merge