[Bug 292164] llan0 doesn't allow dhclient until an IP is provided on the interface

[email protected] Wed, 20 May 2026 01:59:05 +0000
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292164

--- Comment #7 from [email protected] ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D0b158de1109174cd5a189e244198ee020=
62984f0

commit 0b158de1109174cd5a189e244198ee02062984f0
Author:     Justin Hibbits <[email protected]>
AuthorDate: 2026-04-23 03:12:37 +0000
Commit:     Justin Hibbits <[email protected]>
CommitDate: 2026-05-20 01:55:31 +0000

    pseries/llan: call init when ioctl sets interface UP

    This should fix dhcp on an unitialized interface.  This solution was
    found while comparing against another driver, SIOCSIFFLAGS is used by
    dhclient to force the interface up before it has an IP address.
    However, all setup work is done in llan_init(), so the interface would
    not be enabled if configured via only the SIOCSIFFLAGS ioctl.  By
    running llan_init() when the interface is forced up via SIOCSIFFLAGS,
    the interface is initialized properly.

    PR:             292164
    (cherry picked from commit 74dff310698b9a4da9804ed0ded00428b0aebbe8)

 sys/powerpc/pseries/phyp_llan.c | 4 ++++
 1 file changed, 4 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=