Re: Calculation of IPv6 fragmented part length
Taylor R Campbell <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <[email protected]> |
> Date: Fri, 19 Apr 2024 16:12:54 +0900 > From: Ryota Ozaki <[email protected]> > > On Mon, Apr 15, 2024 at 4:01 PM Ryota Ozaki <[email protected]> wrote: > > > > Hi, > > > > On Mon, Apr 15, 2024 at 12:24 AM Yasuyuki KOZAKAI > > <[email protected]> wrote: > > > > > > Hello, > > > > > > The current kernel tries to calculate the fragmented part length by ntohs(ip6->ip6_plen) - offset) and it checks if it is zero, but the calculation is incorrect. > > >[...] > > > > Thank you for the report. The patch looks correct to me. > > I'll commit it. > > I've committed. Thanks, Kozakai-san and Ozaki-san! Should this be pulled up to 10, 9, and maybe 8? Can you take care of that, Ozaki-san?