Re: [PATCH] net: dhcp6: Fix OPT_BOOTFILE_PARAM parsing

2023-11-06 Thread Tom Rini
On Tue, Jul 25, 2023 at 04:13:29PM -0700, seanedm...@linux.microsoft.com wrote: > From: Sean Edmond > > RFC 5970 states that OPT_BOOTFILE_PARAM (option 60) can be > multiple parameters that start with a 16-bit length field followed > by the parameter. For example: > [ param-len 1 (16-bits) ] [ p

[PATCH] net: dhcp6: Fix OPT_BOOTFILE_PARAM parsing

2023-07-25 Thread seanedmond
From: Sean Edmond RFC 5970 states that OPT_BOOTFILE_PARAM (option 60) can be multiple parameters that start with a 16-bit length field followed by the parameter. For example: [ param-len 1 (16-bits) ] [ parameter 1 (variable length) ] This fix ensure we're considering "param-len 1" in the parsin