git: uipc: Fix various races on unp_connect() path.
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Aug 25 19:07:35 PDT 2015
commit c2bfe86d1fba6b83f8f7adf2164978160e529508
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Tue Aug 25 22:05:14 2015 +0800
uipc: Fix various races on unp_connect() path.
And factor out unp_find_lockref(), which will be used to avoid
abusing unpcb.unp_conn on uipc_send() for unconnected DGRAM
unix sockets.
Summary of changes:
sys/kern/uipc_usrreq.c | 291 ++++++++++++++++++++++++++++++++++---------------
1 file changed, 205 insertions(+), 86 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c2bfe86d1fba6b83f8f7adf2164978160e529508
--
DragonFly BSD source repository
More information about the Commits
mailing list