Subject: Re: [RFC] nasty corner case in unix_dgram_sendmsg()

From: Rainer Weikusat <[email-masked]>
Date: Tue, 26 Feb 2019 15:31:32 +0000

Al Viro <[email-masked]> writes:
> On Tue, Feb 26, 2019 at 06:28:17AM +0000, Al Viro wrote:

[...]

>> 	* if after relocking we see that unix_peer(sk) now
>> is equal to other, we arrange for wakeup forwarding from other's
>> peer_wait *and* if that has (likely) succeeded we fail with -EAGAIN.
>> Huh?

This returns 1 if sending isn't possible at the moment, ie, if the
process which tries to send has to wait.