Ensure that the inp is not dropped when starting a stack switch. While there, clean-up the code by using INP_WLOCK_RECHECK, which also re-assigns tp.
Details
Details
- Reviewers
rrs rscheff peter.lei_ieee.org lstewart glebius - Group Reviewers
transport - Commits
- rGfe136aecc2a0: tcp: improve inp locking in setsockopt
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable