[Bug 278265] route(8): `route -n monitor' is quiet when redirecting its output [PATCH]
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Jul 2025 02:14:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278265
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=dd695839efd80fe81143cd6c7a552c30df8448f6
commit dd695839efd80fe81143cd6c7a552c30df8448f6
Author: Oleg Streejak <oleg@pcbtech.ru>
AuthorDate: 2025-07-17 17:06:50 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-07-21 02:13:16 +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 [...]")
(cherry picked from commit 97b61b22edba74c62adba1d022fb73541aa5ff93)
sbin/route/route_netlink.c | 1 +
1 file changed, 1 insertion(+)
--
You are receiving this mail because:
You are on the CC list for the bug.