]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket-util: Run the fallback when the kernel complains about the null buffer (#3541)
authorKai Ruhnau <Kai.Ruhnau@live.com>
Wed, 15 Jun 2016 10:33:24 +0000 (12:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Jun 2016 10:33:24 +0000 (12:33 +0200)
commit77d4acf332abd24025f31455f492fa83d97cb2e1
tree75a4fc4f3f4be71aa6f80570ccf1eec7fe03968b
parent7d38158b5dfcbb5386789eef7a2befea4c72115f
socket-util: Run the fallback when the kernel complains about the null buffer (#3541)

Calling recv with a NULL buffer returns EFAULT instead of EOPNOTSUPP on
older kernels (3.14).

Fixes #3407

Signed-off-by: Kai Ruhnau <kai.ruhnau@target-sg.com>
src/basic/socket-util.c