[PATCH v5 2/3] net: bootp: BOOTP/DHCPv4 retransmission improvements

Tom Rini trini at konsulko.com
Sat Nov 18 01:57:15 CET 2023


On Fri, Nov 17, 2023 at 04:48:25PM -0800, seanedmond at linux.microsoft.com wrote:

> From: Sean Edmond <seanedmond at microsoft.com>
> 
> This patch introduces 3 improvements to align with RFC 951:
> - retransmission backoff interval maximum is configurable
> - initial retranmission backoff interval is configurable
> - transaction ID is kept the same for each BOOTP/DHCPv4 request
[snip]
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index ae846b204dc..93bf752035c 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1717,6 +1717,7 @@ if CMD_NET
>  config CMD_BOOTP
>  	bool "bootp"
>  	default y
> +	select LIB_RAND

This should be "depends on LIB_RAND || LIB_HW_RAND" and not a select as
either one provides the needed interface.

-- 
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/20231117/72eb5965/attachment.sig>


More information about the U-Boot mailing list