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
This commit is contained in:
parent
c161c6f4a7
commit
9377fe1021
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=206288
@ -819,9 +819,11 @@ svc_getreq(SVCXPRT *xprt, struct svc_req **rqstp_ret)
|
||||
free(r->rq_addr, M_SONAME);
|
||||
r->rq_addr = NULL;
|
||||
}
|
||||
m_freem(args);
|
||||
goto call_done;
|
||||
|
||||
default:
|
||||
m_freem(args);
|
||||
goto call_done;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user