Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144486266
D25348.1774923810.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
625 B
Referenced Files
None
Subscribers
None
D25348.1774923810.diff
View Options
Index: head/sys/net/if_mib.c
===================================================================
--- head/sys/net/if_mib.c
+++ head/sys/net/if_mib.c
@@ -122,10 +122,6 @@
error = SYSCTL_OUT(req, ifp->if_linkmib, ifp->if_linkmiblen);
if (error || !req->newptr)
goto out;
-
- error = SYSCTL_IN(req, ifp->if_linkmib, ifp->if_linkmiblen);
- if (error)
- goto out;
break;
case IFDATA_DRIVERNAME:
@@ -152,6 +148,6 @@
}
static SYSCTL_NODE(_net_link_generic, IFMIB_IFDATA, ifdata,
- CTLFLAG_RW | CTLFLAG_NEEDGIANT, sysctl_ifdata,
+ CTLFLAG_RD | CTLFLAG_MPSAFE, sysctl_ifdata,
"Interface table");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 31, 2:23 AM (6 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28233046
Default Alt Text
D25348.1774923810.diff (625 B)
Attached To
Mode
D25348: net.link.generic.ifdata.<ifindex>.linkspecific: rework handler
Attached
Detach File
Event Timeline
Log In to Comment