Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2024 19:31:32 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 20010b86fe0e - main - netlink: Add sysctl descriptions for net.netlink tree
Message-ID:  <202401081931.408JVW9i019117@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=20010b86fe0e181bdad947449fced07bf3fb9cb6

commit 20010b86fe0e181bdad947449fced07bf3fb9cb6
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-10-12 01:38:00 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-01-08 19:31:31 +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
---
 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 e4b52ffb191b..164bea1aba61 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");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401081931.408JVW9i019117>