Page MenuHomeFreeBSD

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

Authored by sepherosa_gmail.com on Dec 26 2016, 5:14 AM.
Tags
None
Referenced Files
F81972247: D8905.id23258.diff
Tue, Apr 23, 10:47 PM
F81972211: D8905.id23258.diff
Tue, Apr 23, 10:47 PM
Unknown Object (File)
Mar 23 2024, 1:27 AM
Unknown Object (File)
Jan 16 2024, 9:44 PM
Unknown Object (File)
Dec 27 2023, 1:30 PM
Unknown Object (File)
Dec 23 2023, 8:26 AM
Unknown Object (File)
Nov 13 2023, 11:11 AM
Unknown Object (File)
Oct 25 2023, 5:42 AM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sepherosa_gmail.com retitled this revision from to if: Defer the if_up until the ifnet.if_ioctl is called..
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)

I would suggest rewording the message a bit to something like:

Defer if_up() until after the interface's if_ioctl method is called.

This ensures the interface is initialized by the interface driver before
it can be used by the rest of the system.
In D8905#185507, @jhb wrote:

I would suggest rewording the message a bit to something like:

Defer if_up() until after the interface's if_ioctl method is called.

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

Done. Thank you.

Seems fine to me; will let someone else approve.

gnn edited edge metadata.
This revision is now accepted and ready to land.Jan 5 2017, 5:00 PM
This revision was automatically updated to reflect the committed changes.