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, Sep 19, 5:50 PM
Unknown Object (File)
Wed, Sep 16, 3:41 PM
Unknown Object (File)
Fri, Sep 4, 4:27 PM
Unknown Object (File)
Mon, Aug 31, 11:22 AM
Unknown Object (File)
Aug 24 2026, 9:36 AM
Unknown Object (File)
Aug 13 2026, 8:45 PM
Unknown Object (File)
Aug 10 2026, 7:44 PM
Unknown Object (File)
Aug 10 2026, 10:43 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 Not Applicable
Unit
Tests Not Applicable