Project

General

Profile

Actions

Bug #13993

closed

loader: tftp client should use server address from rootip

Added by Toomas Soome 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

servip is set from bootp bp_siaddr (if present) and rootip is set immediately from servip in tha same bootp code.

However, the common/dev_net.c does only set rootip (based on url processing etc). Therefore, we should also use rootip in tftp reader.

Fixes hung tftp based boot when bp_siaddr is not provided.

Testing done: tftp boot.

Actions #1

Updated by Electric Monk 11 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 40218bdb5639ffca8a4bf8a1697cf2d6a8d875e2

commit  40218bdb5639ffca8a4bf8a1697cf2d6a8d875e2
Author: Toomas Soome <tsoome@me.com>
Date:   2021-08-04T20:01:17.000Z

    13993 loader: tftp client should use server address from rootip
    Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF