From nobody Mon Mar 06 18:56:25 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 4PVnqG0s7fz3wFcG; Mon, 6 Mar 2023 18:56:26 +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 4PVnqG07B7z4JGH; Mon, 6 Mar 2023 18:56:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678128986; 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=n9XvwTB1yo8yAxAP2hd6HAb8dZ3mQG7f5nofwn2TpkM=; b=o1CKQQcu9JcAHIxFle1OCP/YUNx1UHyh3hlxJSJ5gpYcurN6Ov/5kgy3SubxC2qNCi2XPp 9c0lj4lz+080CX5Nzy7oYBBg5OhSoVDw1t7iUXoDb1S2IWt4v0+A3aTn9L87EF/7jLbfhS WuV5Kgc4Tho2D/TVk5be+bqfRnhMb3D+Os7RUJFsVVOD3rt6Oj5cF+7GQjG7oP2dboy3Qi G1jNX7WU5cYXhjr0hK1AltUCFqxZTTrGqDNbihrisxSMCjzDa9tMkIqmSdFFPQ28zNrMlv 4VwdIr/4yvr77dsjhL5cxgj/DGE4ADTpirPBUGaaoltmlWEWcpqVEBKf3ENDjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678128986; 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=n9XvwTB1yo8yAxAP2hd6HAb8dZ3mQG7f5nofwn2TpkM=; b=F1GL+GaylKLzQA5og0frKzgc7pi1mjLqO8YSBWNQ1PKF1dWronEtXxTfRv+4pHnBvsaeju FWdW1pGz5bNPP/717/Q5qfgV4GX5gLMH1jkeVY0Em/Zp8uFXFidE0m2N6LsMUfU8NCS+Ig k+t5WqYCO0hPSb6WmFJ4PZyjgmGNXzADDAPGFJkVQiD3bQO3AEG4OX0HxBKhN+9C4tb6TG jbxGm+hywLAhtPW2+qQSjP1KkJSgn1OxM6swkFZWY7MuXYbPyJGjpxM7hFAlcGE1dJVNW4 YfTS72HpSjDTJ60/+rVN8boFUBweWkhL+0iNsVR1n4UJbzH/cwaiTD57uj0GFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678128986; a=rsa-sha256; cv=none; b=enpr4524yTXjcnAMkzfAAVD6HyNjDPBf88iN4A8xgPTmz6LPE1sn+24bscRzuuHsDQVbOj bffyUBGprHO78YrsQz2vYk4jVBL+CVWT2Ql+g6Hr6jmutfUsOn83d8GSwgz4et6blNiQr2 zX3id/7jFtpwRlTnkGbEVrqPLbP+em89Ab9JP8UWsCd7ivUW83WBCR0fy0ktTOC917c8a2 aALZMMQXXTYy+Dk9+qRHVf1k3YaVewLDWrZr2iy2TLkFQHdOIpOsNxMLhPsSDqndVP2Dz4 zkL0dBf9OAUi+zMh8HRtHHZpWoKqoAhj0aaIsHLehQZYkkPwxJkNFnXLR+F5sA== 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 4PVnqF5pcXz1CqF; Mon, 6 Mar 2023 18:56:25 +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 326IuP17053532; Mon, 6 Mar 2023 18:56:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 326IuPVx053531; Mon, 6 Mar 2023 18:56:25 GMT (envelope-from git) Date: Mon, 6 Mar 2023 18:56:25 GMT Message-Id: <202303061856.326IuPVx053531@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: b2ca665cb4ba - releng/13.2 - 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/releng/13.2 X-Git-Reftype: branch X-Git-Commit: b2ca665cb4ba13062602580341cd9ecdee561951 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch releng/13.2 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=b2ca665cb4ba13062602580341cd9ecdee561951 commit b2ca665cb4ba13062602580341cd9ecdee561951 Author: Brooks Davis AuthorDate: 2023-03-03 16:20:29 +0000 Commit: Brooks Davis CommitDate: 2023-03-06 18:55:45 +0000 ng_atmllc: deprecate With the deprecation of NgATM, ng_atmllc is the last vestage of ATM support so deprecate it too. Reviewed by: manu, emaste Approved by: re (cperciva) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D38878 (cherry picked from commit c2285a7b092f524b5694e42bfb5fd24f71815771) (cherry picked from commit 85aac7cc92f59ad023d40c81826b5c4f829dba15) --- 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);