Handle interface flags like other drivers do.
Details
Details
- Reviewers
adrian zlei - Group Reviewers
network - Commits
- rGf7fd4e79fa09: rge: handle interface flags changes
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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. | |