git: 299e9fe9709a - stable/14 - netlink: Add sysctl descriptions for net.netlink tree
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jan 2024 17:54:15 UTC
The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=299e9fe9709ac520ce1ea5069d0e25540acff573 commit 299e9fe9709ac520ce1ea5069d0e25540acff573 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2023-10-12 01:38:00 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-01-12 17:53:45 +0000 netlink: Add sysctl descriptions for net.netlink tree Reviewed by: markj, melifaro Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43368 (cherry picked from commit 20010b86fe0e181bdad947449fced07bf3fb9cb6) --- sys/netlink/netlink_glue.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/netlink/netlink_glue.c b/sys/netlink/netlink_glue.c index e7649c6b13dc..879adefab7bd 100644 --- a/sys/netlink/netlink_glue.c +++ b/sys/netlink/netlink_glue.c @@ -50,8 +50,10 @@ #include <netlink/route/route_var.h> /* Standard bits: built-in the kernel */ -SYSCTL_NODE(_net, OID_AUTO, netlink, CTLFLAG_RD, 0, ""); -SYSCTL_NODE(_net_netlink, OID_AUTO, debug, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, ""); +SYSCTL_NODE(_net, OID_AUTO, netlink, CTLFLAG_RD, 0, + "RFC3549 Netlink network state socket family"); +SYSCTL_NODE(_net_netlink, OID_AUTO, debug, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, + "Netlink per-subsystem debug levels"); MALLOC_DEFINE(M_NETLINK, "netlink", "Memory used for netlink packets");