Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IPv6 does not work with gif



On Wed, 23 Dec 2009, Martti Kuparinen wrote:

Joerg Sonnenberger wrote:

How recent is the kernel? Do you have the equivalent of 1.67 of
netinet6/ip6_forward.c in your kernel?

# uname -a
NetBSD fw.mydomain.com 5.0_STABLE NetBSD 5.0_STABLE (FW_MYDOMAIN_COM) #0: Tue Dec 22 08:48:24 EET 2009 root%fw.mydomain.com@localhost:/usr/src/sys/arch/amd64/compile/FW_MYDOMAIN_COM amd64

# ident /usr/src/sys/netinet6/ip6_forward.c
/usr/src/sys/netinet6/ip6_forward.c:
    $NetBSD: ip6_forward.c,v 1.65.12.1 2009/11/14 09:45:53 sborrill Exp $
    $KAME: ip6_forward.c,v 1.109 2002/09/11 08:10:17 sakane Exp $
    $NetBSD: ip6_forward.c,v 1.65.12.1 2009/11/14 09:45:53 sborrill Exp $

Which is pullup:

sys/netinet6/ip6_forward.c                      1.67

        Clear cksum flags before any further processing like
        ip_forward does. Many drivers set the UDP/TCP v4 flags even
        for v6 traffic and if the packet is encapsulated with gif,
        the IPv6 header would get corrupted by ip_output.
        [joerg, ticket #1139]

--
Stephen


Home | Main Index | Thread Index | Old Index