Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 28 Sep 2021 09:42:27 +0900 you wrote:
unix_create1() returns NULL on error, and the callers assume that it never
fails for reasons other than out of memory. So, the callers always return
-ENOMEM when unix_create1() fails.
However, it also returns NULL when the number of af_unix sockets exceeds
twice the limit controlled by sysctl: fs.file-max. In this case, the
callers should return -ENFILE like alloc_empty_file().
[...]
Here is the summary with links:
- [net] af_unix: Return errno instead of NULL in unix_create1().
https://git.kernel.org/netdev/net/c/f4bd73b5a950
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html