[PATCH] net: dhcp6: Fix OPT_BOOTFILE_PARAM parsing

Tom Rini trini at konsulko.com
Mon Nov 6 17:32:36 CET 2023


On Tue, Jul 25, 2023 at 04:13:29PM -0700, seanedmond at linux.microsoft.com wrote:

> From: Sean Edmond <seanedmond at microsoft.com>
> 
> 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 parsing.
> 
> Signed-off-by: Sean Edmond <seanedmond at microsoft.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231106/f55e011d/attachment.sig>


More information about the U-Boot mailing list