From nobody Fri Apr 08 00:03:28 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DE3E51A8766C; Fri, 8 Apr 2022 00:03:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZJPD4px3z4kxF; Fri, 8 Apr 2022 00:03:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8CsKiXMafAT2Zd9efVNgy1c9y3PXfHQ0NuidsxqRVag=; b=htaAV3AqeOmPunbM8BerzG6gkv9/ZZXTMzH/nvTVH5Et6epqWni15t3fij+iWNftfPKLH9 lEJlwttooic4ZFnKqC27l/A7/aVO//dwsY8UvrS3KQALLjoWUF0IIeQgKMy65F6yyzVxDq EFCn1uRMDInaG5w6jFln8CDdvrqHN5CDBIdJSS/6DgwXwfJIW/sAis0H1uMrCUERfR37fm 0M30x75G7yWqN+1O/ggg/JyaXRd5stNCT7J0t4/gzFpF1g1lDMYZizXho5rIDHegBpLPZk rqF+RLzLdfthE/Xjgy4owlLctvm6ryGSg5r7XNe79ktLcOkN7NwsI55xjSq1pA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1DE431A580; Fri, 8 Apr 2022 00:03:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23803S5F086390; Fri, 8 Apr 2022 00:03:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803SiJ086389; Fri, 8 Apr 2022 00:03:28 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:28 GMT Message-Id: <202204080003.23803SiJ086389@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: c0ca75b0db2f - main - otus: Return computed error value instead of ENXIO from otus_raw_xmit. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8CsKiXMafAT2Zd9efVNgy1c9y3PXfHQ0NuidsxqRVag=; b=t7L71ZCeZ3aHHXw6dy3LWoaWZqoKXFvvc5nrB8MZ1wASy2ZT1hW0GCNat8OBDYFGzKutSZ 8NOx5C00pmSjcFIHVJE6rUR/ZdpqupwRvUTaQhHZ2y9RrxJBvQEsxWsf6rKWXhdMSQK+Nx o2eOPgIlzU4t7V7gGJS1b07xdsOEhw2ezLx7n8Gz2D7+rJYBckVy9Mkm4+5ghkO+w8IibR CNmS8Lx3zFKLgdGkkTOaGrOodX9j9LsRBXSmB7auoCUv1ce+0hVjgCDyYg989foRljFzbr ZnpMJgAU8jcoV5Su9YKO8chKyFdNWtVNUbDxAUz6yOek+D1AhlZ7ZGDlK2gp2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376208; a=rsa-sha256; cv=none; b=vS8RAqSnrzAkXIbCwn6YhZdgK9npYL/m2my1z5zM4dc3Lgm+XdQipr9oLC46BBJjuilut7 ThWGABQDaWlrLIq/X3rtzHy9ICR1Ety5K/HEddaa+31VqT7HLcqVszdecswxhGH2cK2DGg 3kF40LGotKx5MyrsLK+eoy7CkKVmzAoyDZ0N7vYf9G80ycfznfldTvhG8+DRPwEW1FvgGo MJsBimHmkYJl50iykc2tDjTjDx7I+f5KmPSP7+0Sgq/t+v8pTCv/5QE8jQ8YQZq2/xbpwB 80y9ybfBXJazHLVHVnWlaWMJzrHBT9OdSFYKpC7sQy8JkVRysC8JWZyyqhUiNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c commit c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c Author: John Baldwin AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin 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