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
F151780694: D14990.id41187.diff
Fri, Apr 10, 3:28 PM
F151766305: D14990.id41187.diff
Fri, Apr 10, 12:50 PM
F151677608: D14990.id41187.diff
Thu, Apr 9, 11:13 PM
Unknown Object (File)
Wed, Apr 8, 10:18 PM
Unknown Object (File)
Sat, Apr 4, 7:42 AM
Unknown Object (File)
Wed, Apr 1, 9:28 PM
Unknown Object (File)
Tue, Mar 24, 12:16 PM
Unknown Object (File)
Fri, Mar 20, 8:00 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