cvs commit: src/sys/kern uipc_msg.c uipc_socket.c uipc_socket2.c src/sys/sys socketops.h socketvar.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Aug 28 16:16:20 PDT 2008
dillon 2008/08/28 16:15:45 PDT
DragonFly src repository
Modified files:
sys/kern uipc_msg.c uipc_socket.c uipc_socket2.c
sys/sys socketops.h socketvar.h
Log:
* Add a flag to track an in-transit socket abort to avoid races when closing
a socket.
* Abort sockets asynchronously to prevent socket proto threads from
deadlocking each other.
Reported-by: Peter Avalos
Revision Changes Path
1.24 +37 -7 src/sys/kern/uipc_msg.c
1.54 +35 -20 src/sys/kern/uipc_socket.c
1.32 +9 -2 src/sys/kern/uipc_socket2.c
1.13 +2 -1 src/sys/sys/socketops.h
1.35 +3 -2 src/sys/sys/socketvar.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_msg.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket2.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketops.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.34&r2=1.35&f=u
More information about the Commits
mailing list