From nobody Mon Mar 06 21:22:43 2023 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 4PVs435Sxpz3wPh6; Mon, 6 Mar 2023 21:22:43 +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 4PVs43461Dz3DHc; Mon, 6 Mar 2023 21:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678137763; 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=qfOYULeC1yDOG6+1bzj3UcAQoS7WCGrIvujMTnGZQsg=; b=bGVesQdo9nGe2lmp0GbCgucymX62GJVd9L3vyEe4dhYiSf5RnQIFZacbutAsQdE2k8cLO/ tBapiR/NQUVJatLQ5U4yj4oMDJq2JhIGzso83OQMSZpgHwpyw5B4Oz1+wrtK4UELWSBI7r xKneYXvIy2Nd96A/27FVz0MbXGaEpznOd/UuQ+342Y3zleEEbfVrlaUsU5N6RJmoByTgni EuaP6j7nidWPEy99d9/gFbtJV5cmi/1QU9unn3i8T6cXLOrIBEQ2pdaLLMDAFGlhhSz74W mn4gfnwsrhA6MOc/Fw3NWGCQVexonR/wouATh21lwbKGm6wSjLXmoxKIfR2M2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678137763; 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=qfOYULeC1yDOG6+1bzj3UcAQoS7WCGrIvujMTnGZQsg=; b=MxYxCV026cJnwMPZuBAEoSbJNtYeT7WmFkQj6Xel1ARGq90keZL0iYEOHSW6pbP4QvBzzS PU47hrKy+GHdUvQTnEv265UVzCTBZlCdZm8SckrbjanR1RmkJdKd+S6lbH6SFLJ+Q2Sma9 CN4CR9EyNae8uGLKKccvNXJ9Z696e8LmDAwvrt/kTi9WBAmJ2Cl4+/O70q5xgY/Od09MxL VcJ8uE1qrepo8cPhkeOxcIXu8uBJ57WLHRp2TrQ/Gifupl3u19pb6DkSHgl85YTM77edyQ ST+lIvvFC2zz2d4dcepVzdbmSZ/EHSx26JreyUN5PG6J8D3zH6LynVJKgBDV0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678137763; a=rsa-sha256; cv=none; b=YmGskkXMfLVDV3qnGi1vWGSng7KE1qcajnIWKq1aTz8ezefvhEqAD/4IS0JAAfpMwKtyQQ rVqPUIz1Z7ajLIyMdSV1oFQlzaJ8bkE7NW7B+EEhGMDVvMkp2+umzdmGq35w9HKY9XyH50 JeegEPxqukUkpLCfiA0LO0a8dTYa5YMf1ntCfvyp64coE5/yauRsqz9ME9poK+Ru++DkKF WcD3qGiZu/PlmjjW5LiBV8CHF4GRAORMe70yhz0VhcYecUPENoC8xWibS7gNjzbRWdmD5n f1ENKIS/YPOq6WyV8Lm6w8UmSyJ2v3xliCfs/6QxzZQRGjPwpzT/WN6MFtDHEA== 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 4PVs433CZ4zHnv; Mon, 6 Mar 2023 21:22:43 +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 326LMhSi000362; Mon, 6 Mar 2023 21:22:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 326LMh1m000361; Mon, 6 Mar 2023 21:22:43 GMT (envelope-from git) Date: Mon, 6 Mar 2023 21:22:43 GMT Message-Id: <202303062122.326LMh1m000361@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Brooks Davis Subject: git: 08325b2df477 - stable/12 - ng_atmllc: deprecate 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 08325b2df4772fb4143ff4b44f7650c5e6f3cb1c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=08325b2df4772fb4143ff4b44f7650c5e6f3cb1c commit 08325b2df4772fb4143ff4b44f7650c5e6f3cb1c Author: Brooks Davis AuthorDate: 2023-03-03 16:20:29 +0000 Commit: Brooks Davis CommitDate: 2023-03-06 18:57:31 +0000 ng_atmllc: deprecate With the deprecation of NgATM, ng_atmllc is the last vestage of ATM support so deprecate it too. MFC after: 3 days Relnotes: yes Reviewed by: manu, emaste Differential Revision: https://reviews.freebsd.org/D38878 (cherry picked from commit c2285a7b092f524b5694e42bfb5fd24f71815771) --- share/man/man4/ng_atmllc.4 | 7 ++++++- sys/netgraph/ng_atmllc.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ng_atmllc.4 b/share/man/man4/ng_atmllc.4 index 3c7cfa947fc7..50987b5a5f6c 100644 --- a/share/man/man4/ng_atmllc.4 +++ b/share/man/man4/ng_atmllc.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 8, 2004 +.Dd March 3, 2023 .Dt NG_ATMLLC 4 .Os .Sh NAME @@ -32,6 +32,11 @@ .Nd ATM LLC netgraph node type .Sh SYNOPSIS .In netgraph/ng_atmllc.h +.Sh DEPRECATION NOTICE +.Nm +is deprecated and may not be available in +.Fx 14.0 +and later. .Sh DESCRIPTION The .Nm atmllc diff --git a/sys/netgraph/ng_atmllc.c b/sys/netgraph/ng_atmllc.c index 1e4475ae68e0..d4a13fb83128 100644 --- a/sys/netgraph/ng_atmllc.c +++ b/sys/netgraph/ng_atmllc.c @@ -93,6 +93,8 @@ ng_atmllc_constructor(node_p node) { struct ng_atmllc_priv *priv; + gone_in(14, "ng_atmllc"); + priv = malloc(sizeof(*priv), M_NETGRAPH, M_WAITOK | M_ZERO); NG_NODE_SET_PRIVATE(node, priv);