From nobody Mon Sep 1 14:17:10 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 4cFrY20rVmz66Zlg for ; Mon, 01 Sep 2025 14:17:10 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cFrY20B4hz3lsG for ; Mon, 01 Sep 2025 14:17:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756736230; 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=tizS0CzxepbEs60wnpWIk+k7++vsqAz0jXn/FiARP7g=; b=xhTE9jDKYs8DvEyOpwgke/UAX9S3U7QLxpnI7plqVfpS9CAz9YPdw5Nu9t9+K3Y7Hp8eAG //w5PSqlVY5j+lzzZnF6uvCFTH0+N5f5KAKCW96H7mKlu5gKNtzMx2d2UlyhUhsQy6AucD izQEjxuhr3whi8hFN9kXKg7LS/2cG2vUUIEzMaPT7TrAZvjYi5yvwBTeXb8MrIYqUnAJM+ qsf8VhabXgNBMuFgfKBJmlorDCLL9ymDUEFQ2upAFFRQQmYcsDLrIN8LhGgL9wbzStZ9qp PEq5gbPTI85z0Yn4ozYHA//OX3SPRFH8arz0/WLQmyls0lpJ7xpZ/su7OY1cQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756736230; 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=tizS0CzxepbEs60wnpWIk+k7++vsqAz0jXn/FiARP7g=; b=S/hXZeTd7GOoXG1DQbBMpB5WAEUQXvKXcggvSWM0PaVzcmB4e76r769NUWBazv9WNGSZiU 8aJXuyqkRFYah3aqIocoG45w9A+8xMEizapi1keAjDBlJT9jNQRjOcSvbnfdggDEmUPzLF gcwb1KMUn1YwLhyQzvFuTGpGai016qybDyArRLhm6y/foszWTpxdpGKMP+Ua+dkPmWbWES mjulWST/T8LdCDkMb94eF2m4Qq9KgxgyT6r+JLICz0Sy0GYu3nIEF3tiDIamrHwzxAkktM YiyP94sh40Nv3usj2JTLyhAy5nEOQ72kEB1Kwllfnr17Z41ifoCy2cSnF/KPwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756736230; a=rsa-sha256; cv=none; b=KDVdCk6li4NjvtSDf9AA2dFKPmVOQ6R8g+KQvlvY1D1whFi4iL7JUUdE+TJUecYIUQqrPD t/AW+hnuKfSXP7wOJ4ZR2Q1DxPkr+0B7KrwiZOhwRhwX9GhAKdKQ+oEPUkb4G2QVgL1LTs YfjGLdb0rif0vA10hFDcJ1JbuGR3urxFsCeey2v5CNW0K/rNWo23L0NlTuTzcz3Vh9hC/H gk6Kc34hTy4Mjt8zc9zULxccxSKfP1HU2Qx0JXsxeU+djxm69Nn8pt5z6oRvCcI7/bR6rb NCm5iK3NfkqrdXXrQSmou1wSC2SgcR7wp0ftgKtmSKYRAjn5vj87d1h/GN1Mhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cFrY16hJMz134l for ; Mon, 01 Sep 2025 14:17:09 +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 581EH9WE075931 for ; Mon, 1 Sep 2025 14:17:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 581EH9rm075930 for net@FreeBSD.org; Mon, 1 Sep 2025 14:17:09 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 274426] route get command returns a zero even no route is found Date: Mon, 01 Sep 2025 14:17:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: ipv6, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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=3D274426 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Deb808098834bc0997fcbe7ca9d7ff1266= 3eff9d0 commit eb808098834bc0997fcbe7ca9d7ff12663eff9d0 Author: R. Christian McDonald AuthorDate: 2023-09-19 16:46:49 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-01 14:14:43 +0000 route(8): fix `route not found` exit code and warn with netlink Fix route(8) incorrectly returning a zero exit code even when unable to find the specified route with route -n get . PR: 274426 Reviewed by: kp Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D41882 (cherry picked from commit 2a78083fc2a14af863afb098925b0682698a2838) sbin/route/route_netlink.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=