From owner-cvs-all@FreeBSD.ORG Thu May 29 11:34:21 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16A4F37B401 for ; Thu, 29 May 2003 11:34:21 -0700 (PDT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21D5943F93 for ; Thu, 29 May 2003 11:34:20 -0700 (PDT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) h4TIYJNQ093474; Thu, 29 May 2003 20:34:19 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.9/8.12.9/Submit) id h4TIYEtw093473; Thu, 29 May 2003 20:34:14 +0200 (CEST) (envelope-from marius) Date: Thu, 29 May 2003 20:34:13 +0200 From: Marius Strobl To: Martin Blapp Message-ID: <20030529203413.E90547@newtrinity.zeist.de> References: <20030529201655.S94836@cvs.imp.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030529201655.S94836@cvs.imp.ch>; from mb@imp.ch on Thu, May 29, 2003 at 08:17:58PM +0200 cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/rpc svc_vc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 18:34:21 -0000 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.