From nobody Fri Aug 8 00:39:49 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 4bylY11309z63jgy for ; Fri, 08 Aug 2025 00:39:49 +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 4bylY06xdYz3Y56 for ; Fri, 08 Aug 2025 00:39:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754613589; 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=JIEc0xvRwUDc1ELurx91PZULpwcn9q/yRg96z1Kzrqs=; b=PxNqULnZvSSYl6V9sa9DrT7KjCTXVJWwnUNWGzGDC5Ew8duJHgZAf+ZpBdI1WtIi3V9FdD XGKheT2MevyvKtLMA/DUQcsHybWaCCYtYf1vfMq1W9UIT41Y2VoY6ygoDS7tPkXT/vHOKL toGRJxVJyZkgufjwp5MsxrrtPqGOMWY0/OmXshFxOadkozDzHv2MHrZhJZo1Sde6OQOakC kb4xKJx9XmXh7vzGkHkgTJmnrHXuo82mFLWmPwy0XfSNvvvoPUV3PnCjoU6KX1UBrvu+R6 dHwYJjTyOZb3SdL7OCfvuivTdH9z7twzQp0dguuPykLIlOOpt/a3enMHWMFkRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754613589; 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=JIEc0xvRwUDc1ELurx91PZULpwcn9q/yRg96z1Kzrqs=; b=Dre+9HRxfidhvY7PjWctLeEG5+J0Uh3qs5kLMIjS2LdL7gQ0pVc6VSo5Ohv/O/BpNOk8IT VQg7dt1NTILpZi8cLFJz442KbsfkIBwlpdhe88qMGbw++1fbg0/l6HfgYBlQgnFW5SeslV +OLt8yY4DCFsp9QmfkCPx+bl/8pnpYHRxYs+lW3y8ks/gRRDlFN96soV2G3DEgbBfrpL3g UXm09ps5f+FPNn5JX/c9IsN8bZiv9ea+GfZr3YRFopNY/1AllBEQsGvo8ivtX46CEhcphm TN2Mclg0Lfoj3vQOdrnCj+ylmvmLgPYaiGqLIsJ9InGU/fJYPlxxsqcZTD7A6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754613589; a=rsa-sha256; cv=none; b=w9xEjyB0n4MhCT6BA3qeULJIsfqSESYTDPZAVJqqSNCDv+yibiLhCPq4vRIYRchQTke6mC Ey6i3QaaZWD0E+n00eQK87bjfXUIztOmvDf4wXqporZDrQ9ly1bi0XDlm1TpwVOXycB6HD 4hfZFbvoHx9xRuDrhNiTV66fCa56LT1lfO0ZjlIu16NIx9QLdrGrMhMVCtyQj3M6GPHUpH 8BBVGs/U1YL65JpxNegae3p9GbNImZEEDi8Y08AxaAZEaHnnp9sYP4fcfdb9TvyyDBygaw jYTr3FnVSkbm6/J1EtPGvxUrbLxm8tyJId1Y7GjZatGHXsZe0/gzcAV66ccSTw== 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 4bylY067zwz1SN6 for ; Fri, 08 Aug 2025 00:39:48 +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 5780dmsh015819 for ; Fri, 8 Aug 2025 00:39:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5780dmCC015818 for net@FreeBSD.org; Fri, 8 Aug 2025 00:39:48 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:49 +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 #9 from commit-hook@FreeBSD.org --- A commit in branch releng/14.3 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D97f34921d77b62721da53dbde19851cd3= 8efe5c5 commit 97f34921d77b62721da53dbde19851cd38efe5c5 Author: Oleg Streejak AuthorDate: 2025-07-17 17:06:50 +0000 Commit: Gordon Tetlow CommitDate: 2025-08-07 23:22:27 +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.=