Re: [PATCH 15/26] net: bootp: Fall back to BOOTP from DHCP when unit testing

2023-10-12 Thread Sean Anderson
On 10/12/23 03:16, Heinrich Schuchardt wrote: On 10/12/23 03:56, Sean Anderson wrote: If we sent a DHCP packet and get a BOOTP response from the server, we shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed. Transition straight to BIND. This is only enabled for UNIT_TEST to

Re: [PATCH 15/26] net: bootp: Fall back to BOOTP from DHCP when unit testing

2023-10-12 Thread Heinrich Schuchardt
On 10/12/23 03:56, Sean Anderson wrote: If we sent a DHCP packet and get a BOOTP response from the server, we shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed. Transition straight to BIND. This is only enabled for UNIT_TEST to avoid bloat, since I suspect the number of BOOT

Re: [PATCH 15/26] net: bootp: Fall back to BOOTP from DHCP when unit testing

2023-10-11 Thread Simon Glass
On Wed, 11 Oct 2023 at 18:56, Sean Anderson wrote: > > If we sent a DHCP packet and get a BOOTP response from the server, we > shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed. > Transition straight to BIND. This is only enabled for UNIT_TEST to avoid > bloat, since I suspec

[PATCH 15/26] net: bootp: Fall back to BOOTP from DHCP when unit testing

2023-10-11 Thread Sean Anderson
If we sent a DHCP packet and get a BOOTP response from the server, we shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed. Transition straight to BIND. This is only enabled for UNIT_TEST to avoid bloat, since I suspect the number of BOOTP servers in the wild is vanishingly small