git: udp: pcb list/hashtable protection stage 2/2

看板DFBSD_commit作者時間15年前 (2011/01/31 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5a38e392fc0cc6547f5e5a03a5fb1024ef576f54 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Thu Dec 23 16:03:08 2010 +0800 udp: pcb list/hashtable protection stage 2/2 - Use serializer to protect pcb list/hashtable iteration not running in netisrs. - Don't use marker pcb, so except for the functions running in netisr0, no other functions will alter pcb list. Summary of changes: sys/netinet/in.c | 5 ++++- sys/netinet/udp_usrreq.c | 35 ++++++++++++++++++++++++++++++++--- sys/netinet/udp_var.h | 3 +++ sys/netinet6/in6_ifattach.c | 5 ++++- sys/netinet6/udp6_usrreq.c | 4 ++-- 5 files changed, 45 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a38e392fc0cc6547f5e5a03a5fb1024ef576f54 -- DragonFly BSD source repository
文章代碼(AID): #1DHXVa8V (DFBSD_commit)