git: uipc: Use token for rights counting
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Nov 6 00:06:22 PST 2015
commit b4d93c31157e63c9cb52882c88a3589135d22eab
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Nov 6 16:04:16 2015 +0800
uipc: Use token for rights counting
This is mainly used to avoid races stemming from f_msgcount accessing
w/o unp_spin.
Summary of changes:
sys/kern/uipc_usrreq.c | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b4d93c31157e63c9cb52882c88a3589135d22eab
--
DragonFly BSD source repository
More information about the Commits
mailing list