Page MenuHomeFreeBSD

Check that in_pcbfree() is only called once for each PCB.
ClosedPublic

Authored by jtl on Apr 6 2018, 4:31 PM.
Tags
None
Referenced Files
F140109030: D14990.diff
Sat, Dec 20, 8:40 AM
Unknown Object (File)
Fri, Nov 21, 12:22 AM
Unknown Object (File)
Fri, Nov 21, 12:17 AM
Unknown Object (File)
Fri, Nov 21, 12:17 AM
Unknown Object (File)
Fri, Nov 21, 12:12 AM
Unknown Object (File)
Nov 15 2025, 9:53 AM
Unknown Object (File)
Nov 12 2025, 7:43 PM
Unknown Object (File)
Nov 8 2025, 10:37 PM
Subscribers

Details

Summary

Check that in_pcbfree() is only called once for each PCB. If that assumption is violated, "bad things" could follow.

I believe such an assert would have detected some of the problems @jch was chasing in PR 203175 (see r307551). We also use it in our internal TCP development.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16020
Build 15999: arc lint + arc unit