Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115649538
D48148.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1015 B
Referenced Files
None
Subscribers
None
D48148.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D48148: tcp: don't ever return ECONNRESET on close(2)
Attached
Detach File
Event Timeline
Log In to Comment