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)
Mon, Oct 20, 6:13 AM
Unknown Object (File)
Sun, Oct 12, 10:35 AM
Unknown Object (File)
Tue, Sep 30, 3:31 PM
Unknown Object (File)
Sep 22 2025, 3:16 PM
Unknown Object (File)
Sep 18 2025, 1:06 AM
Unknown Object (File)
Sep 15 2025, 4:54 AM
Unknown Object (File)
Sep 10 2025, 9:01 PM
Unknown Object (File)
Sep 10 2025, 6:47 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