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, Jan 28, 6:02 AM
Unknown Object (File)
Sun, Jan 19, 10:10 PM
Unknown Object (File)
Sat, Jan 18, 1:32 PM
Unknown Object (File)
Fri, Jan 17, 11:35 PM
Unknown Object (File)
Jan 7 2025, 1:42 AM
Unknown Object (File)
Dec 14 2024, 9:18 PM
Unknown Object (File)
Nov 22 2024, 5:08 AM
Unknown Object (File)
Nov 19 2024, 8:31 AM

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