diff options
| author | Stefan Metzmacher <metze@samba.org> | 2020-06-08 14:21:25 +0200 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2020-06-22 16:45:48 +0200 |
| commit | b94af548f42e561207db7cacbe09c9e3286de2d3 (patch) | |
| tree | 8f040dafa538d5d2a02fc9c118d4c85ed5c3d356 /socket_wrapper.pc.cmake | |
| parent | 64cee569a77e9d9d92e0dc0d2793536c9fb4a45e (diff) | |
| download | socket_wrapper-b94af548f42e561207db7cacbe09c9e3286de2d3.tar.gz socket_wrapper-b94af548f42e561207db7cacbe09c9e3286de2d3.tar.xz socket_wrapper-b94af548f42e561207db7cacbe09c9e3286de2d3.zip | |
socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE explicitly
They are used to ask for the number of unacked bytes in the send queue,
with AF_UNIX sockets get strange result, on linux 5.3 I get more bytes
reported than I sent into the socket. All bytes reach the destination
directly, so we can just always report 0 unacked bytes.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit f317ebcdcdd626ed9e06de2eb60031306994c803)
Diffstat (limited to 'socket_wrapper.pc.cmake')
0 files changed, 0 insertions, 0 deletions
