From nobody Mon Mar 06 18:28:02 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 4PVnBV3fX8z3wCr5; Mon, 6 Mar 2023 18:28:02 +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 4PVnBV36Dfz4FVd; Mon, 6 Mar 2023 18:28:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678127282; 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=5t2B1XkaCqEEmDNXiswCBEuCKXXC3GNicFZbIeVnrUA=; b=bXdEuUOl4G8pYYXtYCJ19ExZetPVVZwjMw5jQ2VWa3Aln9iHBe3ZRRyN3c7uv7uv1CnnCn edONS9AKxFxKdvtGSADNzQUQCAY6rPBr2jnL7f2WICWHUtym5v7cVQvKIGuoKf3RVaP+Sf mrMr4hpfzG9YJD2pgyMHvoMtN+nCj96kaTGFZAUfWidRAaVWTWiY75kEax159P7JvQ/Ypf NFbJmZMTO9SGD6BOlr5zsBpozFjAPyOIm9AFigfUv3h5Lz8I6bogRZ6e7U/AITEpTGMBln F+qZhFfCilJnZE08hPJnzSDFfgJHb24aF+yzBTtiKkd9QTA4vKkogEVhiJ3RGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678127282; 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=5t2B1XkaCqEEmDNXiswCBEuCKXXC3GNicFZbIeVnrUA=; b=UJYxK30wbjN5WR/GbMJ4OMWaBt4aMubSl/zK1MTWTbL+cBPJzPVEex05t8lHOBur3kFrUY E30DRlsYR+Jb1tBMpZjS9Y9q/3lpy3n1cLTZRQavhbH0JBZgoKEUKbr3+QXDJE8MXIhvEZ 25x3SLzszIQCFjk/AAIci5rwdWU2DAchaIWXrql6UhhAywKlkv8h2twH1O4JVh+LKpKhxo YZVvnsp32ovQS3HI2RiAv3qQNtrlDm1NzeZpq3Go6IcGlNn+jtFP/NizBALrT9CSQpRNzo iRgxPLR0lFA5TWQfRVrl589E3re3LR3TcYydDC6P1+anH4niGUeO9nsbDTTcFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678127282; a=rsa-sha256; cv=none; b=d7HPqxvzm92Mj4gM2Znw/L0oiS3Y4qeX19OYTAOpKfzo9TKTwQgaxbEspQIMDxzcHPO27B 4hm+Jv7aYYneOuHyxTPyOlX/fZS392zY5QvDsLbu4ve8SVPuoQTijOT9FR8aHLtMesCDJz O6ZK9WDbVi3I0iK2qRouxUM35OGQ7ZSEvwq434DNt1E7M/C3OjuujIZ8e95EyMWRm0GBvh 5M9rCH5hCPmGWSmT5AJBiIIn/oMP5fE099lVn/ZJMJwi/YLySuMotkMeh+6d67qvBg2/iP +TK/QtsiPiEHNQzcec6OtYnh2JkLx/2lImCaPb8n7cEvLX9P4ylDGez157LZfg== 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 4PVnBV2D2Kz1C0v; Mon, 6 Mar 2023 18:28:02 +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 326IS2lM004735; Mon, 6 Mar 2023 18:28:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 326IS2eO004734; Mon, 6 Mar 2023 18:28:02 GMT (envelope-from git) Date: Mon, 6 Mar 2023 18:28:02 GMT Message-Id: <202303061828.326IS2eO004734@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: 85aac7cc92f5 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 85aac7cc92f59ad023d40c81826b5c4f829dba15 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=85aac7cc92f59ad023d40c81826b5c4f829dba15 commit 85aac7cc92f59ad023d40c81826b5c4f829dba15 Author: Brooks Davis AuthorDate: 2023-03-03 16:20:29 +0000 Commit: Brooks Davis CommitDate: 2023-03-06 18:20:46 +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 Relnotes: yes 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);