CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/02/12 14:28:11
Modified files:
sys/netinet : in_pcb.c in_pcb.h tcp_subr.c tcp_timer.c
udp_usrreq.c
sys/netinet6 : in6_pcb.c raw_ip6.c
Log message:
Use socket lock for inpcb notify.
The notify and ctlinput functions were not MP safe. They need
socket lock which can be aquired by in_pcbsolock_ref(). Of course
in_pcbnotifyall() has to be called without holding a socket lock.
Rename in_rtchange() to in_pcbrtchange(). This is the correct
namespace and the functions take care of the inpcb route.
OK mvs@