[SLOF] [PATCH] netboot: Create bootp-response when bootp is used

Thomas Huth thuth at redhat.com
Tue Sep 26 13:44:42 AEST 2017

On 19.09.2017 11:58, Nikunj A Dadhania wrote:
> According to TFTP Booting extension, after the success of BOOTP, BOOTREPLY
> packet should be copied to bootp-response property under "/chosen"
> While in current case, even when DHCP was used, bootp-response was being set. So
> set bootp-response when BOOTP is used and dhcp-response for DHCP

Is this causing trouble somewhere? Sure, this is old code and might be
wrong, but I thought that DHCP was a superset of BOOTP, so encoding the
DHCP response in a bootp-response property does not sound that bad to me.
Also, is the "dhcp-response" property defined somewhere? I can see
"bootp-response" in the OF TFTP spec, but where does "dhcp-response"
comes from?


More information about the SLOF mailing list