From nobody Mon Apr 08 20:29:41 2024 X-Original-To: dev-commits-src-main@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 4VD10k3q24z5HjN2; Mon, 8 Apr 2024 20:29:42 +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 4VD10k0RcFz45t7; Mon, 8 Apr 2024 20:29:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712608182; 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=/6qtKKtjbg3GqPlfIqH3xp00bkbl20KFBMRhhoRueGY=; b=qSz1gCWuMmTbJm1JPby9FFJx2nSl5p1K+eaPg+MFDJpO2jdIo0llI/bC/z21shgAHH4tT2 4JpzVc88DQWFN7odqziDPDDroZxmyvrcgOt/exk9tueEeK6JxTmRRErVfQ7Ve7nsSw1DOx vNq9lK7wzPaEjCCXUSFk0/Q4OnyQDMdU7eLTETcID1j/hVbgi+nXOAi25RMWBvjyR/tMKm ekVUIweU0BarkKx1zFQWy+/Lxlod4Qzfwz6/hj1ZjAcmOvKAp8/Ff3qDXqrrNrd1byY6B8 OBrbXZal+A3/NlUJrjZRlZ6oIhIqvYUbAB9g+FJTVaUXVpOva4Ldt0ZndoZwPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712608182; a=rsa-sha256; cv=none; b=FRneaxyLwhnszxgZA1dT1c3UKE6HOEt+d3z7WQ78XKiFqI89IjGo9KtwCi6dKZfQzC+gCd khGDKlMNbWEJEy3xL3sUeJv/pDKtmqhpmycTprTpWPNGvtNgV9jR2yBT7/Z4VttAEbJSQ3 cmydEdbVt28VEZzraZBXEd2L3DI2vEQS2qks5+bilpJYjF1tqodpxKtOqSQnD5hbuPCVav abyFqtjvcWxl+d2CCRjo0uTAJm5uBusEF1nqkDEMA4hiG9sMnR8462qP9n5cA9ct2mojPr R0cV2RZcOJBSLgWOCATxOZ9nBgzc6vJslIuWV9hHAgBlSfqE71m+arSXw4smOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712608182; 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=/6qtKKtjbg3GqPlfIqH3xp00bkbl20KFBMRhhoRueGY=; b=JEiERsI0axdiGMUfMRdVdwMeUtgz1OX3oSY8ihslrCX+MHwwli7p7/8BWiGUy1fslJVA1f 1y8/Fl1/c10d0wABvBgkXnpxtvcRGu+Ngzwbc4skpvxeIMbv1sHIlkU3Kw0hk3fqwlhF5X Rnph6umlhDhowPypLZtxyjyl9tu0h1ppgj2t8jVPOPteqrpHDLGcpBQewacEjUHdDJNCOw Jp0HHBbeHwuZ2SosT5DA8IijNP1bA5L/FrwbBCLjtYy6xi4yoCD2wLfgu7xTIc8CJGImh1 7P4btAAWmqt0JjOsF7LAa7TpYiOEM3MaF/hI9hVkXiSxcdNgV8bpq90ZX9mxnQ== 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 4VD10k03CyzPmH; Mon, 8 Apr 2024 20:29:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 438KTf9w041562; Mon, 8 Apr 2024 20:29:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 438KTfOP041559; Mon, 8 Apr 2024 20:29:41 GMT (envelope-from git) Date: Mon, 8 Apr 2024 20:29:41 GMT Message-Id: <202404082029.438KTfOP041559@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 0b4992976226 - main - tests/unix_seqpacket: remove workaround for a kernel bug that is no longer List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b49929762265776b1d7111e55b451d7d9e00550 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=0b49929762265776b1d7111e55b451d7d9e00550 commit 0b49929762265776b1d7111e55b451d7d9e00550 Author: Gleb Smirnoff AuthorDate: 2024-04-08 20:16:51 +0000 Commit: Gleb Smirnoff CommitDate: 2024-04-08 20:16:51 +0000 tests/unix_seqpacket: remove workaround for a kernel bug that is no longer --- tests/sys/kern/unix_seqpacket_test.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/sys/kern/unix_seqpacket_test.c b/tests/sys/kern/unix_seqpacket_test.c index 7c7c37a3cf0a..dc5f89270a07 100644 --- a/tests/sys/kern/unix_seqpacket_test.c +++ b/tests/sys/kern/unix_seqpacket_test.c @@ -260,12 +260,7 @@ test_pipe_simulator(int sndbufsize, int rcvbufsize) memset(sndbuf, num_sent, pktsize); ssize = send(sv[0], sndbuf, pktsize, MSG_EOR); if (ssize < 0) { - /* - * XXX: This is bug-compatible with the kernel. - * The kernel returns EMSGSIZE when it should - * return EAGAIN - */ - if (errno == EAGAIN || errno == EMSGSIZE) + if (errno == EAGAIN) currently_sending = false; else { perror("send");