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. Tested by: danny AT cs.huji.ac.il PR: kern/144330 Submitted by: to.my.trociny AT gmail.com (earlier version) Reviewed by: dfr MFC after: 2 weeks
This commit is contained in:
parent
26bf9c3b54
commit
578e600c8d
@ -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…
x
Reference in New Issue
Block a user