Page MenuHomeFreeBSD

tcp: Ending BB logs not always coming out
ClosedPublic

Authored by rrs on Apr 19 2023, 3:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 12, 8:26 PM
Unknown Object (File)
Feb 10 2025, 11:30 PM
Unknown Object (File)
Jan 28 2025, 6:02 AM
Unknown Object (File)
Jan 19 2025, 10:10 PM
Unknown Object (File)
Jan 18 2025, 1:32 PM
Unknown Object (File)
Jan 17 2025, 11:35 PM
Unknown Object (File)
Jan 7 2025, 1:42 AM
Unknown Object (File)
Dec 14 2024, 9:18 PM

Details

Summary

We have a TCP_LOG_CONNEND log that should come out at the very last log of every connection. This
holds some nice stats about why/how the connection ended. Though with the current code it does not
come out without accounting due to the placement of the ifdefs. Also we need to make sure the stacks
fini has ran before calling in from tcp_subr so we get all logs the stack may make at its ending.

Test Plan

Make sure that without accounting on we now will get the log-end and also that the stacks (rack has a couple) BB logs come out
from its ending.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable