Page MenuHomeFreeBSD

Don't set if_linkmib for vlan(4).
ClosedPublic

Authored by markj on Jan 8 2019, 1:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 13, 12:50 PM
Unknown Object (File)
Dec 20 2023, 5:48 AM
Unknown Object (File)
Nov 14 2023, 2:41 AM
Unknown Object (File)
Oct 13 2023, 1:41 AM
Unknown Object (File)
Sep 30 2023, 9:12 PM
Unknown Object (File)
Sep 7 2023, 9:09 AM
Unknown Object (File)
Sep 7 2023, 9:08 AM
Unknown Object (File)
Sep 7 2023, 9:06 AM
Subscribers

Details

Summary

It doesn't really make sense:

  • the structure being exported isn't a MIB,
  • the structure being exported is private to the kernel and always has been, and
  • no other drivers in widespread use implement a link-specific MIB.

Moreover, the IFDATA_LINKSPECIFIC interface allows a privileged user to
overwrite a bunch of internal state without any validation.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21886
Build 21132: arc lint + arc unit

Event Timeline

kp added a subscriber: kp.

LGTM.

This revision is now accepted and ready to land.Jan 8 2019, 8:14 AM
  • Also collapse ifv_linkmib into the parent structure.
This revision now requires review to proceed.Jan 8 2019, 5:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 9 2019, 4:47 PM
This revision was automatically updated to reflect the committed changes.