svn commit: r284294 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Fri Jun 12 06:28:23 UTC 2015
Author: mjg
Date: Fri Jun 12 06:28:22 2015
New Revision: 284294
URL: https://svnweb.freebsd.org/changeset/base/284294
Log:
ussreq: use saved fdp pointer insted of td->td_proc->p_fd
No functional changes.
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
==============================================================================
--- head/sys/kern/uipc_usrreq.c Fri Jun 12 03:26:05 2015 (r284293)
+++ head/sys/kern/uipc_usrreq.c Fri Jun 12 06:28:22 2015 (r284294)
@@ -1787,7 +1787,7 @@ unp_externalize(struct mbuf *control, st
fdp = (int *)
CMSG_DATA(mtod(*controlp, struct cmsghdr *));
if (fdallocn(td, 0, fdp, newfds) != 0) {
- FILEDESC_XUNLOCK(td->td_proc->p_fd);
+ FILEDESC_XUNLOCK(fdesc);
error = EMSGSIZE;
unp_freerights(fdep, newfds);
m_freem(*controlp);
More information about the svn-src-head
mailing list