Page MenuHomeFreeBSD

rge: handle interface flags changes
ClosedPublic

Authored by brad_comstyle.com on Sun, Mar 8, 12:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 24, 5:03 PM
Unknown Object (File)
Thu, Mar 19, 1:48 PM
Unknown Object (File)
Thu, Mar 19, 7:55 AM
Unknown Object (File)
Thu, Mar 19, 5:42 AM
Unknown Object (File)
Tue, Mar 17, 2:29 AM
Unknown Object (File)
Mon, Mar 16, 9:17 PM
Unknown Object (File)
Sun, Mar 15, 8:33 PM
Unknown Object (File)
Sun, Mar 15, 6:25 PM
Subscribers

Details

Summary

Handle interface flags like other drivers do.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Ok, i'm now actively looking at this.

This revision is now accepted and ready to land.Sun, Mar 22, 3:38 PM
zlei added a subscriber: zlei.

I do not have hardware to test this change, but the code looks good to me.

sys/dev/rge/if_rge.c
961

I'd recommend to stash if_getflags(ifp). Currently the net stack does not have proper sync of the ifnet flags. If other threads are modifying it concurrently, then the driver may be in inconsistent state.

This revision was automatically updated to reflect the committed changes.