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)
Mar 15 2024, 7:47 PM
Unknown Object (File)
Mar 7 2024, 4:54 PM
Unknown Object (File)
Dec 20 2023, 8:26 AM
Unknown Object (File)
Nov 8 2023, 12:39 PM
Unknown Object (File)
Sep 9 2023, 7:31 AM
Unknown Object (File)
Sep 1 2023, 3:30 PM
Unknown Object (File)
Apr 25 2023, 9:33 AM
Unknown Object (File)
Apr 7 2023, 4:22 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 Not Applicable
Unit
Tests Not Applicable