The inp_socket is cleared only in in_pcbdetach(), which for TCP is
always accompanied with inp_pcbfree(). An inpcb that went through
in_pcbfree() shall never be returned by any kind of pcb lookup.
Details
Details
- Reviewers
tuexen - Group Reviewers
transport - Commits
- rGf71cb9f74808: tcp: inp_socket is valid through the lifetime of a TCP inpcb
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable