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
F102658504: D43808.diff
Fri, Nov 15, 11:24 AM
F102589238: D43808.id.diff
Thu, Nov 14, 11:38 AM
Unknown Object (File)
Fri, Nov 1, 9:30 PM
Unknown Object (File)
Fri, Nov 1, 2:39 PM
Unknown Object (File)
Sat, Oct 19, 7:11 PM
Unknown Object (File)
Sat, Oct 19, 6:54 PM
Unknown Object (File)
Sat, Oct 19, 6:33 PM
Unknown Object (File)
Oct 13 2024, 7:32 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