Document inp_socket as immutable and remove NULL checks.
authorbluhm <bluhm@openbsd.org>
Wed, 29 Nov 2023 18:30:48 +0000 (18:30 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 29 Nov 2023 18:30:48 +0000 (18:30 +0000)
commitc7641205e4ae82bc50a1d81891429f8f9639dbed
tree57e13f9af47cd82df5aadff48bed04de245e7eae
parent8865b67a8cb383539ba221e9fae38acc2a8d2fe5
Document inp_socket as immutable and remove NULL checks.

Struct inpcb field inp_socket is initialized in in_pcballoc().  It
is not NULL and never changed.

OK mvs@
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h
sys/netinet/tcp_subr.c
sys/netinet/udp_usrreq.c
sys/netinet6/in6_pcb.c