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
Unknown Object (File)
Sat, Jan 25, 6:16 AM
Unknown Object (File)
Nov 25 2024, 10:40 AM
Unknown Object (File)
Nov 14 2024, 3:50 PM
Unknown Object (File)
Oct 24 2024, 11:10 PM
Unknown Object (File)
Sep 25 2024, 11:58 PM
Unknown Object (File)
Sep 25 2024, 3:12 PM
Unknown Object (File)
Sep 24 2024, 11:23 PM
Unknown Object (File)
Sep 24 2024, 8:16 AM
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