Page MenuHomeFreeBSD

ddb: add show all tcpcbs
ClosedPublic

Authored by tuexen on May 24 2025, 7:21 PM.
Tags
None
Referenced Files
F123314171: D50516.diff
Sun, Jul 13, 1:34 PM
Unknown Object (File)
Wed, Jul 9, 7:35 AM
Unknown Object (File)
Mon, Jul 7, 10:41 AM
Unknown Object (File)
Sun, Jul 6, 7:24 AM
Unknown Object (File)
Sat, Jul 5, 1:21 PM
Unknown Object (File)
Sat, Jul 5, 4:48 AM
Unknown Object (File)
Fri, Jul 4, 5:39 PM
Unknown Object (File)
Fri, Jul 4, 5:23 AM

Details

Summary

Add a command to show all TCP control blocks. Also provide an option to limit the output to TCP control blocks, which are locked.

The plan is to run show all tcpcbs/l when syzkaller triggers a panic. If a TCP control is affected, it is most likely locked and therefore the command shows the information of the affected TCP control block.

Diff Detail

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

Event Timeline

thj added a subscriber: thj.

Please commit this with "Tested by: thj".

I tested this yesterday with the other tcp ddb change, but it looks like phab didn't submit the accept. I was running a perf test over that link so its probably more on me than phab.

This revision is now accepted and ready to land.May 28 2025, 8:36 AM
This revision was automatically updated to reflect the committed changes.