Date: Sat, 27 Jul 2002 16:06:53 -0700 (PDT) From: David Malone <dwmalone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket2.c Message-ID: <200207272306.g6RN6rXN069229@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2002/07/27 16:06:53 PDT
Modified files:
sys/kern uipc_socket2.c
Log:
If a socket is disconnected for some reason (like a TCP connection
not responding) then drop any data on the outgoing queue in
soisdisconnected because there is no way to get it to its destination
any longer.
The only objection to this patch I got on -net was from Terry, who
wasn't sure that the condition in question could arise, so I provided
some example code.
Revision Changes Path
1.99 +1 -0 src/sys/kern/uipc_socket2.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207272306.g6RN6rXN069229>
