Date: Fri, 8 Apr 2022 00:03:28 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c0ca75b0db2f - main - otus: Return computed error value instead of ENXIO from otus_raw_xmit. Message-ID: <202204080003.23803SiJ086389@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c commit c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-08 00:01:27 +0000 otus: Return computed error value instead of ENXIO from otus_raw_xmit. --- sys/dev/otus/if_otus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index e1fac8b72fcb..cde1ad990ff9 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -566,7 +566,7 @@ error: otus_freebuf(sc, bf); OTUS_UNLOCK(sc); m_freem(m); - return (ENXIO); + return (error); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204080003.23803SiJ086389>