OpenBSD cvs log

created 2024-12-28T12:08:56Z
begin 2024-12-21T00:00:00Z
end 2024-12-22T00:00:00Z
path src/sys
commits 1

date 2024-12-21T00:10:04Z
author mvs
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
message Kill `inp_notify' list remains.

This was the list where PCBs were temporary linked to avoid sleep with
`inpt_mtx' mutex(9) held. in_pcbnotifyall() and in6_pcbnotify are the
last list users, so switch them to in_pcb_iterator() too, moreover they
already do in_pcb_is_iterator() check.

Note, in_pcb_iterator() does necessary reference couter handling,
unlocked `inp' dereference is safe.

ok bluhm