From nobody Thu Jun 30 14:15:30 2022 X-Original-To: dev-commits-src-branches@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 DB7438B7413; Thu, 30 Jun 2022 14:15:30 +0000 (UTC) (envelope-from git@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 4LYgN25XVgz4qyQ; Thu, 30 Jun 2022 14:15:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656598530; 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=AQAykxsZpDQD0DtsZZoX6v0pshKQ5hlzQj+LivF9UYk=; b=uD6DdHvSOSwp8Bt03eSB0LdqgRvlOLgfyUned3uDXEctglv3f0YlyxEteg5TSgk/6UjSCW naH16RtSwuUoOvtxlZHdMJW8xm8W2vePXLuvbVkW/dAdRKP+izPr+j1Ze613rV8lS7m4aN rjSTuErubQuxj/dff+RCnfFQRs34/zC0ikBPYeTIheh8C++lt+RAhn4thYE0v6rxwwFKJ8 lU2soRKzpJC8DbrDAjEmnpACM7Xx9vwh3tY87PCXi+w07ITdp6iRAZIs+xitNsJ/j2wUYz nCf2AhJEZIiUkoTPNvmjdVkKJkwRcVgirQVCgCt3fCIEiec6vMT4TKmHicljIA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 99B4127D0A; Thu, 30 Jun 2022 14:15:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25UEFU8k051294; Thu, 30 Jun 2022 14:15:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25UEFUa9051293; Thu, 30 Jun 2022 14:15:30 GMT (envelope-from git) Date: Thu, 30 Jun 2022 14:15:30 GMT Message-Id: <202206301415.25UEFUa9051293@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 70fd40edb869 - stable/13 - debugnet: Fix an error handling bug in the DDB command tokenizer List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 70fd40edb869441a8c9b7acc920ea302c02949f0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656598530; 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=AQAykxsZpDQD0DtsZZoX6v0pshKQ5hlzQj+LivF9UYk=; b=hMZCwyTtXwQuk0i+JXHRG2OSwHFPnNuQYHESyh1BIc853JH9NZ/g1VN1oNh96PhnUx03sb s9Mq/uw5iZ3z8atFyASltngoHMkMIZmUptvoCJuT5Gs7FfJ9P5cwQbl2mI6AvhRMSsLU7C 5p9pteW6U6ygXiJ6zjH36HplnY2yJUqcbD+YyQx9JISnXIL4nWvHYuLJDLSeR/2JkEOrag 2LhNTjeNOLU/uKvLiBwLvYsNEIYawBxXDFRiKMc/rlHA441kliwtlCHglQXeK2T2Nof+6J qE1nMU3zElSH8cCemWwxp10aWJ1ZEY4RQ1kKWroFUlPcpobQ3Jf3K0EC3C7Ilw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656598530; a=rsa-sha256; cv=none; b=ZYFyjfjPZ2WXg5AiR1R66tdoWBjofgP7N6zvEPTr+ncawpkvKnyjX4551mIhLGSk048lmO 0aCG4kfevwjwNabP4Tc1X6lkdb/hDNt+j3us+Ff0aRKq0NP3nJb0g8Nv1b0WZfh84NKxPt 5ulkGNTSy43VQ87wHKpRHn2hvt037L1NpO0H0HDDjPi8k2Icl36bJu5yImLX7pG2UMgbla 6jDgdZFcoqWg356SVZkfrhM0vBuiVNW4ueyBHovtr5Lnjh/sF/akC6hdUYyKmI+5qzlT72 KggzETGt7CIqKbCJyvIhstjc4F9x8wDbpdpvErc0SB5+fCi4RmpAKZgPQAcWPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=70fd40edb869441a8c9b7acc920ea302c02949f0 commit 70fd40edb869441a8c9b7acc920ea302c02949f0 Author: Mark Johnston AuthorDate: 2022-06-16 14:05:10 +0000 Commit: Mark Johnston CommitDate: 2022-06-30 14:12:15 +0000 debugnet: Fix an error handling bug in the DDB command tokenizer Sponsored by: The FreeBSD Foundation (cherry picked from commit c262d5e877121eb8c89e01ca7f20ecfb01246bd1) --- sys/net/debugnet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c index a197017c1767..3295b33c3dd6 100644 --- a/sys/net/debugnet.c +++ b/sys/net/debugnet.c @@ -1049,6 +1049,7 @@ debugnet_parse_ddb_cmd(const char *cmd, struct debugnet_ddb_config *result) if (ifp == NULL) { db_printf("Could not locate interface %s\n", db_tok_string); + error = ENOENT; goto cleanup; } } else {