HomeFreeBSD

if: Defer the if_up until the ifnet.if_ioctl is called.

Description

if: Defer the if_up until the ifnet.if_ioctl is called.

This ensures the interface is initialized by the interface driver
before it can be used by the rest of the system.

Reviewed by: jhb, karels, gnn
MFC after: 3 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8905

Details

Provenance
sepheAuthored on
Reviewer
jhb
Differential Revision
D8905: if: Defer the if_up until the ifnet.if_ioctl is called.
Parents
rS311474: Use getsock_cap() instead of fgetsock().
Branches
Unknown
Tags
Unknown