git: 9c328531f0fd - main - domains: undocument dom_destroy() and fix .Dd
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 17:55:13 UTC
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.