Page MenuHomeFreeBSD

rge: handle interface flags changes
ClosedPublic

Authored by brad_comstyle.com on Mar 8 2026, 12:21 PM.
Tags
None
Referenced Files
F157356736: D55728.diff
Wed, May 20, 2:11 PM
Unknown Object (File)
Mon, May 18, 11:33 AM
Unknown Object (File)
Mon, May 18, 11:25 AM
Unknown Object (File)
Mon, May 18, 10:23 AM
Unknown Object (File)
Mon, May 18, 10:20 AM
Unknown Object (File)
Fri, May 15, 4:53 PM
Unknown Object (File)
Sun, May 3, 1:30 PM
Unknown Object (File)
Sat, May 2, 12: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.Mar 22 2026, 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.