CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/06/23 14:59:25
Modified files:
sys/net : if_bridge.c pf.c
sys/netinet : ip_input.c ip_output.c ipsec_input.c
tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c
udp_usrreq.c
sys/netinet6 : ip6_output.c
Log message:
Unlock IPCTL_MTUDISC case of ip_sysctl().
`ip_mtudisc' is atomically accessed boolean, so allow only 0 and 1
values to set. Also, while `ip_mtudisc' is 0, the rt_timer_queue_flush()
will be triggered all the times even if we do read access. There is no
reason for that, so flush the queue only if this thread successfully
assigned 0 value. The rt_timer_queue_flush() requires to be serialized
with the netlock.
ok bluhm