git: uipc: Check unp_conn again after unp_connect().
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Mon Aug 31 20:12:49 PDT 2015
commit 6e5ff0185c4cac789cbc9ce3b8eaf57f03e0a7a1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Aug 31 21:08:11 2015 +0800
uipc: Check unp_conn again after unp_connect().
Since the current unp's token could be released after unp_conn
assignment, we need to check unp_conn again even if unp_connect()
returns no error.
Summary of changes:
sys/kern/uipc_usrreq.c | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e5ff0185c4cac789cbc9ce3b8eaf57f03e0a7a1
--
DragonFly BSD source repository
More information about the Commits
mailing list