Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2022 17:55:13 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9c328531f0fd - main - domains: undocument dom_destroy() and fix .Dd
Message-ID:  <202205091755.249HtDgB061250@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=9c328531f0fd5b5ed0870c2d12fbf116ae961032

commit 9c328531f0fd5b5ed0870c2d12fbf116ae961032
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-05-09 17:51:17 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2022-05-09 17:53:10 +0000

    domains: undocument dom_destroy() and fix .Dd
    
    Fixes:  24e1c6ae7d3f7731a0884a62e9d5273e5ca1335a
---
 share/man/man9/domain.9 | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/share/man/man9/domain.9 b/share/man/man9/domain.9
index 2fc0fd328392..2d42e0b8cb40 100644
--- a/share/man/man9/domain.9
+++ b/share/man/man9/domain.9
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 27, 2021
+.Dd January 3, 2022
 .Dt DOMAIN 9
 .Os
 .Sh NAME
@@ -70,8 +70,6 @@ struct domain {
 	char	*dom_name;
 	int	dom_flags;
 	int	(*dom_probe)(void);	/* check for support (optional) */
-	void	(*dom_destroy)		/* cleanup structures / state */
-		(void);
 	int	(*dom_externalize)	/* externalize access rights */
 		(struct mbuf *, struct mbuf **);
 	void	(*dom_dispose)		/* dispose of internalized rights */
@@ -172,9 +170,6 @@ Once a domain is added it cannot be completely unloaded.
 This is because there is
 no reference counting system in place to determine if there are any
 active references from sockets within that domain.
-If the domain defines a
-.Fn dom_destroy
-routine, then it will be invoked during vnet teardown.
 .Pp
 .Fn pffinddomain
 finds a domain by family.



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