Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2023 21:22:43 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 08325b2df477 - stable/12 - ng_atmllc: deprecate
Message-ID:  <202303062122.326LMh1m000361@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=08325b2df4772fb4143ff4b44f7650c5e6f3cb1c

commit 08325b2df4772fb4143ff4b44f7650c5e6f3cb1c
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-03-03 16:20:29 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303062122.326LMh1m000361>