svn commit: r206288 - stable/8/sys/rpc
Rick Macklem
rmacklem at FreeBSD.org
Tue Apr 6 23:03:21 UTC 2010
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;
}
}
More information about the svn-src-all
mailing list