git: kernel - Fix syncache vs close(listen_socket) race

看板DFBSD_commit作者時間15年前 (2011/01/31 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 068a5b708c211250949949a9faff20ea60676f2a Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Jan 30 16:19:40 2011 -0800 kernel - Fix syncache vs close(listen_socket) race * Attempt to fix a race where a listen socket is closed with an active syncache. The tcpcb is detached prior to the syncache being destroyed resulting in a race where a new incoming connection can complete and attempt to dive the listen socket's tcpcb. * Detach the tcpcb after the syncache is destroyed rather than before. Summary of changes: sys/netinet/tcp_subr.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/068a5b708c211250949949a9faff20ea60676f2a -- DragonFly BSD source repository
文章代碼(AID): #1DHWC8Un (DFBSD_commit)