aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/svc_udp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-05 18:10:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-05 18:10:14 +0000
commit172b90bbf6d68cfea568151bff7c1a96b277162b (patch)
tree3c3e70e1efeea09fba3c840440a80a0bff4b64ef /sunrpc/svc_udp.c
parent619166175d502f8c71f93bb9ec33db558301cd9d (diff)
downloadglibc-172b90bbf6d68cfea568151bff7c1a96b277162b.tar
glibc-172b90bbf6d68cfea568151bff7c1a96b277162b.tar.gz
glibc-172b90bbf6d68cfea568151bff7c1a96b277162b.tar.bz2
glibc-172b90bbf6d68cfea568151bff7c1a96b277162b.zip
Update.
2000-10-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file. 2000-10-02 Jakub Jelinek <jakub@redhat.com> * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all remaining xp_pad space. 2000-10-05 Jakub Jelinek <jakub@redhat.com> * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for DF_1_NODELETE, not list[i]'s.
Diffstat (limited to 'sunrpc/svc_udp.c')
-rw-r--r--sunrpc/svc_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c
index 608b286d84..f912260ef5 100644
--- a/sunrpc/svc_udp.c
+++ b/sunrpc/svc_udp.c
@@ -245,8 +245,8 @@ again:
mesgp->msg_namelen = len;
mesgp->msg_control = &xprt->xp_pad [sizeof (struct iovec)
+ sizeof (struct msghdr)];
- mesgp->msg_controllen = sizeof(struct cmsghdr)
- + sizeof (struct in_pktinfo);
+ mesgp->msg_controllen = sizeof(xprt->xp_pad)
+ - sizeof (struct iovec) - sizeof (struct msghdr);
rlen = recvmsg (xprt->xp_sock, mesgp, 0);
if (rlen >= 0)
len = mesgp->msg_namelen;