Page MenuHomeFreeBSD

Add 32-bit compat for ioctls that take struct ifgroupreq.
ClosedPublic

Authored by brooks on Apr 4 2018, 4:42 PM.
Tags
None
Referenced Files
F108312977: D14960.diff
Thu, Jan 23, 6:59 PM
Unknown Object (File)
Wed, Jan 15, 9:23 AM
Unknown Object (File)
Fri, Jan 10, 10:00 PM
Unknown Object (File)
Fri, Jan 10, 2:45 PM
Unknown Object (File)
Fri, Jan 10, 9:24 AM
Unknown Object (File)
Fri, Jan 10, 6:32 AM
Unknown Object (File)
Dec 22 2024, 6:10 AM
Unknown Object (File)
Dec 8 2024, 1:57 PM
Subscribers

Details

Summary

Use an accessor to access ifgr_group and ifgr_groups.

Use an macro CASE_IOC_IFGROUPREQ(cmd) in place of case statements such
as "case SIOCAIFGROUP:". This avoids poluting the switch statements
with large numbers of #ifdefs.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15974
Build 15963: arc lint + arc unit

Event Timeline

kib added inline comments.
sys/net/if.c
2856

May be consider fixing style by moving ifgr declaration at top, and removing useless {}.

This revision is now accepted and ready to land.Apr 4 2018, 5:44 PM
  • Avoid unneeded ifgr temporary and be consistant about casting from data.
This revision now requires review to proceed.Apr 4 2018, 9:46 PM
This revision is now accepted and ready to land.Apr 4 2018, 9:55 PM
This revision was automatically updated to reflect the committed changes.