git: 3fc514f4a722 - stable/13 - otus: Return computed error value instead of ENXIO from otus_raw_xmit.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 17:58:43 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3fc514f4a7229492aeebda36494f1372b63f5cda commit 3fc514f4a7229492aeebda36494f1372b63f5cda Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-13 17:43:31 +0000 otus: Return computed error value instead of ENXIO from otus_raw_xmit. (cherry picked from commit c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c) --- 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