net/ipv6/sit.c: return unhandled skb to tunnel4_rcv
authorDavid McCullough <david_mccullough@mcafee.com>
Mon, 29 Nov 2010 19:32:34 +0000 (19:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2010 21:19:34 +0000 (13:19 -0800)
commit6dcdd1b3694a4fa2b85167a9c860c7613a7553c7
tree4a0d21dbaf8d502c2b91777457065a9131b1eb9b
parentd13a2cb63d06fe2e3067c7d40f9a5946abd614c8
net/ipv6/sit.c: return unhandled skb to tunnel4_rcv

I found a problem using an IPv6 over IPv4 tunnel.  When CONFIG_IPV6_SIT
was enabled, the packets would be rejected as net/ipv6/sit.c was catching
all IPPROTO_IPV6 packets and returning an ICMP port unreachable error.

I think this patch fixes the problem cleanly.  I believe the code in
net/ipv4/tunnel4.c:tunnel4_rcv takes care of it properly if none of the
handlers claim the skb.

Signed-off-by: David McCullough <david_mccullough@mcafee.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c