chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:13:01 +0000 (10:13 +0200)
commit8e672b6af770c75a69b1a026cbfef7f1ff6e598c
tree63e57887548b5fd016bc9232d41b45f011125f33
parent9facc64034a98d593cf5b577e979aa78e3b184bf
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