android_kernel_xiaomi_sm8350/net/dccp
Gerrit Renker 55d955902a dccp: support for passing MSG_TRUNC
DCCP is datagram-oriented but lacks UDP's support for MSG_TRUNC as defined in
recvmsg(2)/recv(2). Hence the following 'Hello world\0' receiver

  len = recv(fd, buf, 10, MSG_PEEK | MSG_TRUNC);

wrongly (always) returns 10, while in UDP it returns 12 as expected.
This patch adds the missing MSG_TRUNC support to recvmsg().

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-12 16:51:10 -08:00
..
ccids
ackvec.c
ackvec.h
ccid.c dccp: allow probing of CCID-array length 2010-02-12 11:47:00 -08:00
ccid.h dccp: fix bug in cache allocation 2010-02-03 19:00:30 -08:00
dccp.h
diag.c
feat.c
feat.h
input.c
ipv4.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
ipv6.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
ipv6.h
Kconfig
Makefile
minisocks.c TCPCT part 1a: add request_values parameter for sending SYNACK 2009-12-02 22:07:23 -08:00
options.c
output.c inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
probe.c dccp: fix auto-loading of dccp(_probe) 2010-02-03 19:00:31 -08:00
proto.c dccp: support for passing MSG_TRUNC 2010-02-12 16:51:10 -08:00
sysctl.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
timer.c net: Fix for dst_negative_advice 2009-10-20 18:55:46 -07:00