Thread (1 message) 1 message, 1 author, 2016-02-07

Re: [V4.4-rc6 Regression] af_unix: Revert 'lock_interruptible' in stream receive code

From: Rainer Weikusat <hidden>
Date: 2016-02-07 20:39:25
Also in: lkml, stable

Rainer Weikusat [off-list ref] writes:

[...]
the real problem is that the function disagrees with itself on how to
use the err variable: The start uses that to record an error which
might need to be reported, the return statement uses it to indicate
that an error has occurred.
This should have been "as indication that an errors has occured" (if no
data was copied).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help