Page MenuHomeFreeBSD

tcp_input: remove call to soisconnected() on transition to ESTABLISHED
AbandonedPublic

Authored by glebius on Aug 7 2022, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 8:30 AM
Unknown Object (File)
Mon, Apr 22, 8:29 AM
Unknown Object (File)
Feb 21 2024, 7:48 AM
Unknown Object (File)
Feb 11 2024, 7:38 PM
Unknown Object (File)
Jan 19 2024, 9:04 PM
Unknown Object (File)
Dec 20 2023, 1:59 AM
Unknown Object (File)
Dec 10 2023, 12:43 PM
Unknown Object (File)
Nov 22 2023, 9:38 AM
Subscribers

Details

Reviewers
None
Group Reviewers
network
transport
Summary

This call existed since pre-FreeBSD times, and it is hard to understand
why it was there in the first place. After 6f3caa6d815 it definitely
became necessary and commit message from f1ee30ccd60 confirms that.
Now that 6f3caa6d815 is effectively backed out by XXXXXX, the call doesn't
seem to make any use.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46772
Build 43661: arc lint + arc unit

Event Timeline

Note: I found out that for RACK/BBR this call is still needed (sometimes). Can't understand why.

So if you are not doing soisconnected() here where does it happen at now?

In D36065#819251, @rrs wrote:

So if you are not doing soisconnected() here where does it happen at now?

Now we call solisten_enqueue(, SS_ISCONNECTED). Previously we called sonewconn(, 0) instead of sonewconn(, SS_ISCONNECTED).

The more I look at accept filtered sockets, the more I think they Peter was right today on the call. Let me finish tests and we will see.

As is breaks accept filters and in current form should be abandoned.