netdev
[Top] [All Lists]

Re: IPv6 small bugs

To: sdalu@xxxxxxxx (Stephane D'Alu)
Subject: Re: IPv6 small bugs
From: kuznet@xxxxxxxxxxxxx
Date: Wed, 26 Jan 2000 23:26:31 +0300 (MSK)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <200001261344.OAA01619@chaumousey.loria.fr> from "Stephane D'Alu" at Jan 26, 0 05:13:02 pm
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> unsigned short int csum_ipv6_magic (struct in6_addr *saddr,
>                                    struct in6_addr *daddr,
>                                    __u16 len,
>                                    unsigned short proto,
>                                    unsigned int sum) 
> 
> the checksum is computed using the IPv6 pseudo header but
> the length should be a 32 bits, not 16.

Opla! Indeed, I tested jumbograms only on loopback, where this
function is skipped! Thank you.

> - ipv6_setsockopt @ net/ipv6/ipv6_sockglue.c
> sk->family = PF_INET;
> seems to be missing in the IPV6_ADDRFORM case, when used with UDP.

Thank you.

Alexey

<Prev in Thread] Current Thread [Next in Thread>