Summary: | update linsysfs to include /sys/class/net data | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | neirac <cneirabustos> | ||||||
Component: | kern | Assignee: | Dmitry Chagin <dchagin> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | cem, chuck, cneirabustos, dchagin, emaste | ||||||
Priority: | --- | Keywords: | patch | ||||||
Version: | 11.1-RELEASE | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 247219 | ||||||||
Attachments: |
|
Description
neirac
2017-11-17 20:04:54 UTC
It appears you've attached a copy of a modified linsysfs.c, not a patch. Please attach a patch instead (e.g., from diff -u), or create an account on our Phabricator instance and upload the patch there (following the instructions on https://wiki.freebsd.org/Phabricator) Created attachment 188232 [details]
/sys/class/net patch
I'm sorry here is the patch adding /sys/class/net to linsysfs
Patch is now in Phabricator https://reviews.freebsd.org/D13656 A commit references this bug: Author: dchagin Date: Mon May 6 20:01:14 UTC 2019 New revision: 347204 URL: https://svnweb.freebsd.org/changeset/base/347204 Log: Adds sys/class/net devices to linsysfs. Only two interfaces are created eth0 and lo and they expose the following properties: address, addr_len, flags, ifindex, mty, tx_queue_len and type. Initial patch developed by Carlos Neira in 2017 and finished by me. PR: 223722 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D13656 Changes: head/sys/compat/linsysfs/linsysfs.c linsysfs changes in main and stable branches, for netlink we have another report |