diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2024-04-08 20:16:51 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2024-04-08 20:16:51 +0000 |
commit | 0b49929762265776b1d7111e55b451d7d9e00550 (patch) | |
tree | 4e089767526c69a2b0ed73cc8d3b934e6d88d2ca /tests | |
parent | f9927821240aae9083a56ea66c4725e7f0082461 (diff) | |
download | src-0b49929762265776b1d7111e55b451d7d9e00550.tar.gz src-0b49929762265776b1d7111e55b451d7d9e00550.zip |
tests/unix_seqpacket: remove workaround for a kernel bug that is no longer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sys/kern/unix_seqpacket_test.c | 7 |
1 files changed, 1 insertions, 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"); |