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)
Tue, Nov 12, 3:49 AM
Unknown Object (File)
Wed, Nov 6, 9:28 AM
Unknown Object (File)
Mon, Nov 4, 8:01 PM
Unknown Object (File)
Sep 23 2024, 3:35 PM
Unknown Object (File)
Sep 18 2024, 10:19 PM
Unknown Object (File)
Sep 18 2024, 6:06 AM
Unknown Object (File)
Sep 17 2024, 10:47 PM
Unknown Object (File)
Sep 16 2024, 4: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

Lint
Lint Skipped
Unit
Tests Skipped