git: tcp: Make listen(2) socket close(2) MPSAFE

看板DFBSD_commit作者時間15年前 (2011/01/31 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit ce6f0462a237160626ebf5cc25f2d792b941b905 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Mon Jan 24 15:52:45 2011 +0800 tcp: Make listen(2) socket close(2) MPSAFE - Cleanup the syncache entries on each CPU for this inp. - Before whacking the inp, we unhook the inp wildcard hash and cleanup its syncache entries by using a synchronized message. - Fix up comment. Reported-by: pavalos@ DragonFly-bug: http://bugs.dragonflybsd.org/issue1960 Summary of changes: sys/netinet/tcp_subr.c | 127 ++++++++++++++++++++---------------------------- 1 files changed, 53 insertions(+), 74 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce6f0462a237160626ebf5cc25f2d792b941b905 -- DragonFly BSD source repository
文章代碼(AID): #1DHXVa58 (DFBSD_commit)