Re: Calculation of IPv6 fragmented part length
Ryota Ozaki <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <CAKrYomg-EqhBRvqxaLaf3b0m6B1qMoie1zPn8ersEL1TYXfLFg@mail.gmail.com> |
On Fri, Apr 19, 2024 at 9:51 PM Taylor R Campbell <[email protected]> wrote: > > > 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? The defect is rarely problematic though, I'll pull the fix up to all just in case. Regards, ozaki-r