Page MenuHomeFreeBSD

D48148.diff
No OneTemporary

D48148.diff

diff --git a/lib/libsys/close.2 b/lib/libsys/close.2
--- a/lib/libsys/close.2
+++ b/lib/libsys/close.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 1, 2017
+.Dd December 18, 2024
.Dt CLOSE 2
.Os
.Sh NAME
@@ -111,9 +111,6 @@
An interrupt was received.
.It Bq Er ENOSPC
The underlying object did not fit, cached data was lost.
-.It Bq Er ECONNRESET
-The underlying object was a stream socket that was shut down by the peer
-before all pending data was delivered.
.El
.Pp
In case of any error except
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -690,11 +690,6 @@
inp = sotoinpcb(so);
KASSERT(inp != NULL, ("tcp_usr_disconnect: inp == NULL"));
INP_WLOCK(inp);
- if (inp->inp_flags & INP_DROPPED) {
- INP_WUNLOCK(inp);
- NET_EPOCH_EXIT(et);
- return (ECONNRESET);
- }
tp = intotcpcb(inp);
if (tp->t_state == TCPS_TIME_WAIT)

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 27, 1:33 PM (14 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17818238
Default Alt Text
D48148.diff (1015 B)

Event Timeline