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
Unknown Object (File)
Feb 17 2025, 2:01 AM
Unknown Object (File)
Feb 6 2025, 9:31 PM
Unknown Object (File)
Jan 29 2025, 5:42 PM
Unknown Object (File)
Jan 28 2025, 3:23 PM
Unknown Object (File)
Jan 15 2025, 12:55 PM
Unknown Object (File)
Dec 23 2024, 3:55 AM
Unknown Object (File)
Dec 21 2024, 11:42 PM
Unknown Object (File)
Dec 3 2024, 8:17 PM

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 Not Applicable
Unit
Tests Not Applicable

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