mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
tests/unix_seqpacket: remove workaround for a kernel bug that is no longer
This commit is contained in:
parent
f992782124
commit
0b49929762
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user