diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/svc_udp.c | 4 |
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; |