tech-net archive

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

Re: Calculation of IPv6 fragmented part length



On Fri, Apr 19, 2024 at 9:51 PM Taylor R Campbell
<campbell+netbsd-tech-net%mumble.net@localhost> wrote:
>
> > 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?

The defect is rarely problematic though, I'll pull the fix up to all
just in case.

Regards,
  ozaki-r


Home | Main Index | Thread Index | Old Index