Date: Thu, 29 May 2003 20:34:13 +0200 From: Marius Strobl <marius@alchemy.franken.de> To: Martin Blapp <mb@imp.ch> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/rpc svc_vc.c Message-ID: <20030529203413.E90547@newtrinity.zeist.de> In-Reply-To: <20030529201655.S94836@cvs.imp.ch>; from mb@imp.ch on Thu, May 29, 2003 at 08:17:58PM %2B0200 References: <20030529201655.S94836@cvs.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030529203413.E90547>
