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)
Fri, Nov 8, 9:58 AM
Unknown Object (File)
Thu, Nov 7, 4:57 AM
Unknown Object (File)
Oct 16 2024, 2:29 AM
Unknown Object (File)
Oct 15 2024, 11:45 AM
Unknown Object (File)
Oct 14 2024, 4:37 PM
Unknown Object (File)
Oct 12 2024, 11:10 AM
Unknown Object (File)
Oct 11 2024, 3:18 AM
Unknown Object (File)
Oct 9 2024, 11:47 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.