cvs commit: src/lib/libc/rpc svc_vc.c
Marius Strobl
marius at alchemy.franken.de
Thu May 29 11:34:21 PDT 2003
On Thu, May 29, 2003 at 08:17:58PM +0200, Martin Blapp wrote:
>
> Hi,
>
> I already sent a patch to re@ to fix the problem ...
>
> --- src/lib/libc/rpc/svc_vc.c.orig Thu May 29 20:12:57 2003
> +++ src/lib/libc/rpc/svc_vc.c Thu May 29 20:13:25 2003
> @@ -487,6 +487,8 @@
>
> cfp = (struct cf_conn *)xprt->xp_p1;
>
> + cm = NULL;
> + sa = (struct sockaddr *)xprt->xp_rtaddr.buf;
> if (cfp->nonblock) {
> if (sa->sa_family == AF_LOCAL) {
> cm = (struct cmessage *)xprt->xp_verf.oa_base;
> @@ -522,8 +524,6 @@
> }
> } while ((pollfd.revents & POLLIN) == 0);
>
> - cm = NULL;
> - sa = (struct sockaddr *)xprt->xp_rtaddr.buf;
> if (sa->sa_family == AF_LOCAL) {
> cm = (struct cmessage *)xprt->xp_verf.oa_base;
> if ((len = __msgread_withcred(sock, buf, len, cm)) > 0) {
>
I already tried exactly the same and like I wrote it keeps rpcbind from
dumping core but doesn't fix the problem when there's no IPv6-support in
the kernel.
More information about the cvs-all
mailing list