git: e943eceb928d - main - ng_bridge: document the limitation brought in f961caf2184c

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 17:48:46 UTC
The branch main has been updated by glebius:

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

commit e943eceb928d1d277f28f262dd6d758c1d85e8d0
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2024-04-08 17:48:22 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2024-04-08 17:48:22 +0000

    ng_bridge: document the limitation brought in f961caf2184c
---
 share/man/man4/ng_bridge.4 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/share/man/man4/ng_bridge.4 b/share/man/man4/ng_bridge.4
index 7e5b4e0bd0ca..998c428cbad0 100644
--- a/share/man/man4/ng_bridge.4
+++ b/share/man/man4/ng_bridge.4
@@ -107,6 +107,9 @@ hook of the bridge, and ignore the complexity of the outside world.
 Frames with unknown MACs are always sent out to
 .Ar uplink
 hooks, so no functionality is lost.
+The
+.Ar uplink0
+hook is not allowed.
 .Pp
 The
 .Ar linkX
@@ -277,3 +280,11 @@ node type was implemented in
 .Fx 4.2 .
 .Sh AUTHORS
 .An Archie Cobbs Aq Mt archie@FreeBSD.org
+.Sh BUGS
+The
+.Nm
+node refuses to create the
+.Ar uplink0
+hook to avoid later ambiguity with the
+.Dv NGM_BRIDGE_GET_STATS
+message.