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
Unknown Object (File)
Tue, Nov 19, 3:32 PM
Unknown Object (File)
Tue, Nov 19, 7:05 AM
Unknown Object (File)
Sat, Nov 16, 10:34 PM
Unknown Object (File)
Sat, Nov 16, 9:07 PM
Unknown Object (File)
Sat, Nov 16, 12:16 AM
Unknown Object (File)
Fri, Nov 15, 10:23 PM
Unknown Object (File)
Fri, Nov 15, 3:40 PM
Unknown Object (File)
Mar 23 2024, 1:27 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

Lint
Lint Skipped
Unit
Tests Skipped

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.