git: c0ca75b0db2f - main - otus: Return computed error value instead of ENXIO from otus_raw_xmit.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 08 Apr 2022 00:03:28 UTC
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