[PATCH v4 3/3] net: bootp: add config option BOOTP_RANDOM_XID
Tom Rini
trini at konsulko.com
Fri Nov 17 23:08:33 CET 2023
On Fri, Nov 17, 2023 at 01:49:25PM -0800, seanedmond at linux.microsoft.com wrote:
> From: Sean Edmond <seanedmond at microsoft.com>
>
> The new config option BOOTP_RANDOM_XID will randomize the transaction ID
> for each new BOOT/DHCPv4 exchange.
>
> Signed-off-by: Sean Edmond <seanedmond at microsoft.com>
> ---
> cmd/Kconfig | 7 +++++++
> net/bootp.c | 31 +++++++++++++++++--------------
> 2 files changed, 24 insertions(+), 14 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 93bf752035c..244237e6d60 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1853,6 +1853,13 @@ config BOOTP_VCI_STRING
> default "U-Boot.arm" if ARM
> default "U-Boot"
>
> +config BOOTP_RANDOM_XID
> + bool "Send random transaction ID to BOOTP/DHCP server"
> + depends on CMD_BOOTP && (LIB_RAND || EXYNOS_ACE_SHA || RNG_NPCM)
This should be (LIB_RAND || LIB_HW_RAND)
--
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/1a2e9b78/attachment.sig>
More information about the U-Boot
mailing list