Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 17:19:44 +0000
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        "Hans Petter Selasky" <hps@selasky.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r358167 - head/sys/netinet6
Message-ID:  <4B399B7C-6256-4C47-A3F8-CE46B1B70C17@FreeBSD.org>
In-Reply-To: <7d9ea227-7208-5773-080c-5ebc365c4be0@selasky.org>
References:  <202002201056.01KAuC0N029186@repo.freebsd.org> <7d9ea227-7208-5773-080c-5ebc365c4be0@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24 Feb 2020, at 14:21, Hans Petter Selasky wrote:

Hi Hans,

> On 2020-02-20 11:56, Bjoern A. Zeeb wrote:
>
>> +
>> +		unfragpartlen = optlen + sizeof(struct ip6_hdr);
>> +
>
>
> Hi Bjoren,
>
> This change introduces a slight regression when a host replies to IPv6 
> ping fragmented packets. The problem is the "unfragpartlen" must also 
> be set in the else case of "if (opt)", else the payload offset 
> computation for IPv6 fragments goes wrong by the size of the IPv6 
> header!
>
> After r358167:
>
>
>> ping6 -s 3000 fe80::ee0d:9aff:fed4:2c8c%mce2
>> PING6(3048=40+8+3000 bytes) fe80::ee0d:9aff:fed4:2c94%mce2 --> 
>> fe80::ee0d:9aff:fed4:2c8c%mce2
>> ^C
>> --- fe80::ee0d:9aff:fed4:2c8c%mce2 ping6 statistics ---
>> 2 packets transmitted, 0 packets received, 100.0% packet loss
>
>
> With the patch mentioned in the end of this e-mail:

are you sure that this is the problem?  Or does 
https://reviews.freebsd.org/D23760 solve the actual problem?

/bz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B399B7C-6256-4C47-A3F8-CE46B1B70C17>