HomeFreeBSD

inpcb: poison several inpcb pointer in in_pcbfree()

Description

inpcb: poison several inpcb pointer in in_pcbfree()

There are few subsystems that reference inpcb and allow it to outlive
in_pcbfree(). There are no known bugs with them to unreference the
options pointers for a freed inpcb. Enforce this so that such bugs
don't appear in the future.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D43134

Details

Provenance
glebiusAuthored on Dec 27 2023, 4:34 PM
Reviewer
markj
Differential Revision
D43134: inpcb: poison several inpcb pointer in in_pcbfree()
Parents
rGa13039e27092: inpcb: reoder inpcb destruction
Branches
Unknown
Tags
Unknown