DragonFly commits List (threaded) for 2011-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix syncache vs close(listen_socket) race
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]