[PATCH v2] net: Check for the minimum IP fragmented datagram size

Fabio Estevam festevam at gmail.com
Thu May 26 18:48:18 CEST 2022


On Thu, May 26, 2022 at 1:10 PM Fabio Estevam <festevam at denx.de> wrote:
>
> On 26/05/2022 11:14, Fabio Estevam wrote:
>
> > Add a check for ip_len lesser than 28 and stop processing the packet
> > in this case.
> >
> > Such a check covers the two reported bugs.
>
> Ops, it is (ip->ip_len < 21) the condition that satisfies both cases.
>
> I will send a v3.

Actually, the condition in v2 is the correct one :-)

Sorry for the confusion.


More information about the U-Boot mailing list