diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2010-02-10 21:26:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-13 01:51:10 +0100 |
commit | 55d955902a7f78e3e7c9ddbc71a4a050d9d44810 (patch) | |
tree | e56d33b78b483476b9560370dcf37db7c40c886a /fs/nfs/callback_xdr.c | |
parent | sky2: version 1.27 (diff) | |
download | linux-55d955902a7f78e3e7c9ddbc71a4a050d9d44810.tar.xz linux-55d955902a7f78e3e7c9ddbc71a4a050d9d44810.zip |
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>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions