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
F163355461: D8905.diff
Wed, Jul 22, 11:09 AM
Unknown Object (File)
Tue, Jul 21, 4:56 PM
Unknown Object (File)
Mon, Jul 20, 3:57 AM
Unknown Object (File)
Sun, Jul 19, 3:25 AM
Unknown Object (File)
Thu, Jul 9, 10:22 PM
Unknown Object (File)
Fri, Jul 3, 6:20 PM
Unknown Object (File)
Tue, Jun 30, 12:58 PM
Unknown Object (File)
Thu, Jun 25, 7:18 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.