Page MenuHomeFreeBSD

tcp: stop doing superfluous work after sending RST
ClosedPublic

Authored by rscheff on Feb 9 2024, 7:52 PM.
Tags
None
Referenced Files
F172419326: D43808.diff
Fri, Sep 18, 8:31 AM
Unknown Object (File)
Wed, Sep 16, 2:01 AM
Unknown Object (File)
Wed, Sep 9, 12:34 AM
Unknown Object (File)
Tue, Sep 8, 8:55 AM
Unknown Object (File)
Sat, Sep 5, 8:51 PM
Unknown Object (File)
Sat, Sep 5, 2:34 PM
Unknown Object (File)
Sat, Sep 5, 12:18 PM
Unknown Object (File)
Sat, Sep 5, 9:29 AM

Details

Summary

When sending a RST control segment in tcp_output() it
means we are in TCPS_CLOSED state, called from tcp_drop().
Once the RST is sent, don't call tcp_timer_activate() or
update anything in tcpcb, since that will go away shortly.

Provided by: glebius

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 55889
Build 52778: arc lint + arc unit

Event Timeline

Well, originally my diff. No objection for pushing it in together with your changes. I consider you reviewed it :) Thanks!

This revision is now accepted and ready to land.Feb 10 2024, 8:27 AM