git: kernel - Fix bug in unp_gc()

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 2aa0ab56fd6eaeb11183d27161feb1df1c292bb7 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Oct 18 00:10:35 2010 -0700 kernel - Fix bug in unp_gc() * Fix a race against a file close where FDEFER can wind up being left set. * Fix a panic during unix domain socket garbage collection where a token was being acquired with a spinlock held. Use trytoken instead and if it fails simply defer checking of the (fp) in question. Summary of changes: sys/kern/kern_descrip.c | 2 + sys/kern/uipc_usrreq.c | 68 +++++++++++++++++++++++++--------------------- 2 files changed, 39 insertions(+), 31 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2aa0ab56fd6eaeb11183d27161feb1df1c292bb7 -- DragonFly BSD source repository
文章代碼(AID): #1CvoKXde (DFBSD_commit)