From nobody Mon May 09 17:55:13 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3A4E91AD8E6B; Mon, 9 May 2022 17:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxpjZ0jzVz4t00; Mon, 9 May 2022 17:55:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WFbqDjsFTLVNIrrtSyA8feSxKKnt+RbHjhcKl9KBRIs=; b=Iu1cGQhryk1b6ZkpZxOV6Ufe5PxXDePeeCuW2XpAmN9iTrqO7980qqZiaXrkQ+xZIbTxM0 Q8iwxuhZ62jPEhCe0PnWb6OuunSb779g4JY3UQc3/ZNwAA4m0nAjZbmbFW9anl8PiOR+st mnXVVF+XXSqTGLZoNtjV76MIkNd2je3PbK0ouGJHRomKITQWInnw4M9puW7RUODv8GixNo VQB4GmEKe9d22qBCFEDU7a7C+31T/lDbbM0Y6B7u9rGDXXTpOv6Rv9HoZQBVbL3JCO5nGG h0QJI3YhzfNCDO288twTPd73MKqcliGTdrnX5Q1YB+WchZVPgBDrYqVh3EQyoQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B19BD15B86; Mon, 9 May 2022 17:55:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 249HtDiB061251; Mon, 9 May 2022 17:55:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249HtDgB061250; Mon, 9 May 2022 17:55:13 GMT (envelope-from git) Date: Mon, 9 May 2022 17:55:13 GMT Message-Id: <202205091755.249HtDgB061250@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 9c328531f0fd - main - domains: undocument dom_destroy() and fix .Dd List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c328531f0fd5b5ed0870c2d12fbf116ae961032 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WFbqDjsFTLVNIrrtSyA8feSxKKnt+RbHjhcKl9KBRIs=; b=VGZFrjLLC/AZjSCui8o9DxUVlIObEOYclT4CqdkGDlRsV29PRLmxRfKDjIMk3Ec+YLHz3t Wq2+Vtd+Kau1F/wMdEnAEssCGCi1rUGNXVyHG60W9DfPHHSk1a768MriVZsmh2gBOITVbG g3dd9K0dY3+ZXOUevfVzb0l6dE84sU1I8bRNfrXn1d+QlXytkOrdhC3pCrlecytf+Tle+h UQMnADOuVvkASsAHkW74r6i1Vol5Dspu6vcpp27mb5QQ9vkVq5vFR1hNnue2nYKMWdJxmM pygMRo5QpgGG8MnvIhXl0RBpmHaWnd9tSne0wIUyUJW379lvsJ9Q4GSd2Slytg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652118914; a=rsa-sha256; cv=none; b=cmYjaw3lc/OZCb+VCJ7nvr6nOE9Hs9qspmnRAV1FjbvlrFfx11PK8+HqLmdqjox4M3l8ym urNkZh7w2Jl1xr9pFkSxksq8oRayqH8PpUCTpwLZWx3169F6+kk2/lhQ+s9SyZyWNhRZf9 NoJGshRhcLe7GVZaibdMibxNN/UiuYANiD4sWfg1mBDU54RJdDjujlt+fKXU4kVzY/1BUP jVHNlYEHBPGmSmyTLCoOYNUZq4U8UoflVEdYKPnSQQJDeWU8JyM8sh1UYTgWLeVDOBJ6vh WoHN+d9B++WCpoiszSNoi+VE6HPthG/WWSjKdjBH9NkqI4fnIGoA9XnYWfPy2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=9c328531f0fd5b5ed0870c2d12fbf116ae961032 commit 9c328531f0fd5b5ed0870c2d12fbf116ae961032 Author: Gleb Smirnoff AuthorDate: 2022-05-09 17:51:17 +0000 Commit: Gleb Smirnoff 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.