git: 70fd40edb869 - stable/13 - debugnet: Fix an error handling bug in the DDB command tokenizer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jun 2022 14:15:30 UTC
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=70fd40edb869441a8c9b7acc920ea302c02949f0 commit 70fd40edb869441a8c9b7acc920ea302c02949f0 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-06-16 14:05:10 +0000 Commit: Mark Johnston <markj@FreeBSD.org> 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 {