Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2010 23:10:03 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/144330: commit references a PR
Message-ID:  <201004062310.o36NA3oh039419@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/144330; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/144330: commit references a PR
Date: Tue,  6 Apr 2010 23:03:39 +0000 (UTC)

 Author: rmacklem
 Date: Tue Apr  6 23:03:20 2010
 New Revision: 206288
 URL: http://svn.freebsd.org/changeset/base/206288
 
 Log:
   MFC: r205562
   When the regular NFS server replied to a UDP client out of the replay
   cache, it did not free the request argument mbuf list, resulting in a leak.
   This patch fixes that leak.
   
   PR:	kern/144330
 
 Modified:
   stable/8/sys/rpc/svc.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
 
 Modified: stable/8/sys/rpc/svc.c
 ==============================================================================
 --- stable/8/sys/rpc/svc.c	Tue Apr  6 21:39:18 2010	(r206287)
 +++ stable/8/sys/rpc/svc.c	Tue Apr  6 23:03:20 2010	(r206288)
 @@ -819,9 +819,11 @@ svc_getreq(SVCXPRT *xprt, struct svc_req
  					free(r->rq_addr, M_SONAME);
  					r->rq_addr = NULL;
  				}
 +				m_freem(args);
  				goto call_done;
  
  			default:
 +				m_freem(args);
  				goto call_done;
  			}
  		}
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004062310.o36NA3oh039419>