Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2022 17:58:43 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3fc514f4a722 - stable/13 - otus: Return computed error value instead of ENXIO from otus_raw_xmit.
Message-ID:  <202205131758.24DHwhuL069441@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205131758.24DHwhuL069441>