Date: Thu, 16 Jun 2022 14:36:25 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c262d5e87712 - main - debugnet: Fix an error handling bug in the DDB command tokenizer Message-ID: <202206161436.25GEaPpg056695@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c262d5e877121eb8c89e01ca7f20ecfb01246bd1 commit c262d5e877121eb8c89e01ca7f20ecfb01246bd1 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-06-16 14:05:10 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-06-16 14:05:10 +0000 debugnet: Fix an error handling bug in the DDB command tokenizer MFC after: 2 weeks Sponsored by: The FreeBSD Foundation --- 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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206161436.25GEaPpg056695>