From nobody Fri Aug 8 00:39:55 2025 X-Original-To: net@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 4bylY84xQlz63kg4 for ; Fri, 08 Aug 2025 00:39:56 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bylY75gJ6z3YFB for ; Fri, 08 Aug 2025 00:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754613595; 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: in-reply-to:in-reply-to:references:references; bh=Cu0NRLlLL6GYuZJaW/E92uQc4hTjsQ20ScMG5TSCd2c=; b=HtaWAZhp1wwh+6AascKoQ60E3c43c3XDKeMtnKbjifKmNDeG2t+blTKjv/NqnXkcZ1G8T2 FawObm4z+hHUfmqGvWqzQmKWxeoDgpkjlI4yJzL6xwSRk9XFJGZembIa2HXX1onHZuNM/7 DZFSIXeZIzVtt/kpy4byi00ibu0Tri44rNLSOeymyKCKS7FPkBy++sIwgdS/RoUSWoUqWl Tp82TKZqNh2XHQpMY/AneIpBYWfhGYYkV4J5aL829HqdhcKsD1bHluNAimAAWtdg0ECcu/ JNNBMdyHhRzakAghz/5UqbKsC8xfasP9NUwuu1MzDyhMTYtWR+NbQl8/8ST9sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754613595; 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: in-reply-to:in-reply-to:references:references; bh=Cu0NRLlLL6GYuZJaW/E92uQc4hTjsQ20ScMG5TSCd2c=; b=Ce1hL9G5XxZlyPNJlUC641no7za1XRAZcU+lsu+XeltVDJlD8J2XV58NA+mQ+0mGKrD9X0 X6SAVbWltyW9+HR00uFso3Zu5RXQqAc4UoqvwZK7XPBexsIAXUb+SHzcT9nRpeXQSfHvrN As6z9dHzLN8yXjevoFCHBKunDJSV9ICvnenjgZ6hbg3nABuELlWr7XypMf+++5mF8j1Piu TFUeNwZeoQuqyWQ05UxhF7Jdn4oPyDtjAENGoqC5nTXlHILlgnCSJZikriuHBp5CNmWARi vdSxX1L+84TFpOlIBf1yKN6YqW9MfHND0Gmc3cfi4MuRvtosx6tYCWkX3/VvgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754613595; a=rsa-sha256; cv=none; b=sgKKD/D96SWtpPJSLOdYkx/M5/GZXvIpw9yFe0yhLu0WnCaeWEkRKTOfR2PSFGCvXSYyTc Gn8dN8SAMI91DgzWV8cLU1vYxCYII5l3WGanP1M5GGQmDcmARt01RW4/arUWBHz69a7YCf fyDjBD1OKIs/rOnNlL3DRplcDzNEuRtlQ3C2eLZnGFHa/PWARHdrn79U0FdeDN8aDbOpTy BAo4Gkn1abQmvKDjSKabZk0jWQDZErGucUZX/OuMCkd8sj09seAZQhAGBd4b8A3KX38G9e gSyZD0+yqC3A6fd7BY3HYrK4f6MIerILxEX6jp3AoMKwVghLGVOVEpoN2sLAcg== 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 4bylY7431Xz1SNC for ; Fri, 08 Aug 2025 00:39:55 +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 5780dtBq015929 for ; Fri, 8 Aug 2025 00:39:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5780dtiH015928 for net@FreeBSD.org; Fri, 8 Aug 2025 00:39:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 278265] route(8): `route -n monitor' is quiet when redirecting its output [PATCH] Date: Fri, 08 Aug 2025 00:39:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: secteam@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13- needs_errata? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278265 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch releng/14.2 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D168703212b618f32b42ed1f9e062a74d7= f0cc534 commit 168703212b618f32b42ed1f9e062a74d7f0cc534 Author: Oleg Streejak AuthorDate: 2025-07-17 17:06:50 +0000 Commit: Gordon Tetlow CommitDate: 2025-08-07 23:23:56 +0000 route: fix `route -n monitor` when its output is redirected This is a small oversight in the transition to netlink; the non-netlink implementation would explicitly flush its stdout as necessary to avoid apparent long stalls in output when we end up fully-buffered. Adjust the netlink implementation to do the same. This was noticed while trying to triage failures in the wg-quick script. Commit message by kevans, patch by author. PR: 278265 Fixes: 091fec1188929 ("route: switch transport protocol [...]") Approved by: so Security: FreeBSD-EN-25:14.route (cherry picked from commit 97b61b22edba74c62adba1d022fb73541aa5ff93) (cherry picked from commit dd695839efd80fe81143cd6c7a552c30df8448f6) sbin/route/route_netlink.c | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=