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
..
2010-02-03 19:00:30 -08:00
2009-08-05 10:42:58 -07:00
2010-01-17 19:16:02 -08:00
2010-01-17 19:16:02 -08:00
2009-10-18 18:52:53 -07:00
2010-02-03 19:00:31 -08:00
2010-02-12 16:51:10 -08:00
2009-10-20 18:55:46 -07:00