HomeFreeBSD

pcb: Move an assignment into in_pcbdisconnect()

Description

pcb: Move an assignment into in_pcbdisconnect()

All callers of in_pcbdisconnect() clear the local address, so let's just
do that in the function itself.

Note that the inp's local address is not a parameter to the inp hash
functions. No functional change intended.

Reviewed by: glebius
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Modirum MDPay
Differential Revision: https://reviews.freebsd.org/D38362

(cherry picked from commit 2589ec0f365777faacf36bd1eb24706538836b17)

Details

Provenance
markjAuthored on Feb 3 2023, 3:57 PM
Reviewer
glebius
Differential Revision
D38362: pcb: Move an assignment into in_pcbdisconnect()
Parents
rG460e41a24baf: man4: Add a manual page for kvmclock
Branches
Unknown
Tags
Unknown