From nobody Fri Apr 19 11:26:38 2024 X-Original-To: bugs@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 4VLXR24bxNz5GsXx for ; Fri, 19 Apr 2024 11:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@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 4VLXR20VPNz3wsC for ; Fri, 19 Apr 2024 11:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713525998; a=rsa-sha256; cv=none; b=IUs84kgwHt2tCgfNMjKipgmxwRd4ZBTS8Y8DSQHN/QEfAVCriLUxDNapSF4iQ3gNkAPnpZ QZ5rjHEOOqt1buL4rm2sLSBZ4JYWFYDaGJ6Q63afgooadQzZDrFR7i1Lbd2Zk/PE9CPMko xgIR5Jl+zXIlAUq4B6jS2yLa8DVmoqCcfI58EpD2WUOIfp8bM7IyHdpQs309ixNenCGP1N 1W0a22aoUNzilrOJzeKSMmOENlKgn2XS3Ffuyq/p+nuTU096Y2gNLSL5bQnviTvYxaOCQH hZZCY3qhCEsG3FR7YCMNLW1wRvrPF6boitWYyJIjm9wIiHxQjSbY9pvD+F68NQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713525998; 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=kEB5POaogKFqawuf0wUdE0Kd7pnaxzWOlCwzQT2coII=; b=tPS7gNGOc96x7xypvNPU6xJNsfe44mBKue5FLBXyB05X/oQDWE5B+RNMg+l7VK7oD5oarO Cw8WwSv7cAS1+wFxV2K4QwRfU4AcZejBb0RXxlqKgugc0ZkQF1XGaV2OlH3yqk8hRNb/Bm TpUrcSqx9xvY9ZXzMU5bLpvhZp2mn7p6LOGVZ+uROM2mO2plO3l7YzvSMjA8tRxfaTabc5 VMoF/wS8X4rn6wSL2TCBrcUQ+wM4WulYxDeeBDVRSZvAiN7BqIrFbQ90sysWK3dx+23kLS K8Wy/LHy10xLC2CApsUwRMkLuSrl+7JQM9nJkLHO3M6SkenXAUNjUb1yFBl55w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4VLXR2068xzrXR for ; Fri, 19 Apr 2024 11:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43JBQbNI066749 for ; Fri, 19 Apr 2024 11:26:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43JBQb36066747 for bugs@FreeBSD.org; Fri, 19 Apr 2024 11:26:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278458] ng_bridge(4) states that uplinkX is valid, but fails if uplink0 is given Date: Fri, 19 Apr 2024 11:26:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: parakleta@darkreality.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278458 Bug ID: 278458 Summary: ng_bridge(4) states that uplinkX is valid, but fails if uplink0 is given Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: parakleta@darkreality.org CC: doc@FreeBSD.org Most examples show ng_bridge being connected to ng_ether with :lower being connected to :link0 (see /usr/share/examples/netgraph/virtual.lan among others). The ng_bridge man page suggests that it is desirable to connect the :lower = hook of ng_ether to an uplink hook of the form :uplinkX. Unfortunately, when combining these two instructions we get an illegal arrangement which responds with `ngctl: send msg: Invalid argument` and no further explanation. I had to read through the code changes in https://reviews.freebsd.org/D2396= 3 to see that the uplink form was disallowed when the link number is 0 (see `sys/netgraph/ng_bridge.c:360` in that commit). It is not clear to me from that change request why 0 was disallowed, and th= is seems contrary to the common guidance on how to connect ng_bridge to ng_eth= er, so either this restriction should be removed or the man page should be upda= ted to be explicit that this is disallowed (and perhaps provide an example scen= ario which could be copied). --=20 You are receiving this mail because: You are the assignee for the bug.=