tech-net archive

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

Re: Calculation of IPv6 fragmented part length



> Date: Fri, 19 Apr 2024 16:12:54 +0900
> From: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
> 
> On Mon, Apr 15, 2024 at 4:01 PM Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
> >
> > Hi,
> >
> > On Mon, Apr 15, 2024 at 12:24 AM Yasuyuki KOZAKAI
> > <yasuyuki.kozakai%gmail.com@localhost> 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?


Home | Main Index | Thread Index | Old Index