HomeFreeBSD

tcp_fill_info(): Change lock assertion on INPCB to locked only

Description

tcp_fill_info(): Change lock assertion on INPCB to locked only

This function actually only ever reads from the TCP PCB. Consequently,
also make the pointer to its TCP PCB parameter const.

Sponsored by: NetApp, Inc. (originally)

Details

Provenance
mariusAuthored on Aug 22 2023, 5:03 PM
Parents
rG949491f2a639: if_ovpn: clear mbuf flags on rx
Branches
Unknown
Tags
Unknown