kern/144330: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Tue Apr 6 23:10:03 UTC 2010


The following reply was made to PR kern/144330; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-fs mailing list