[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/50240: Changing net.inet6.icmp6.redirtimeout doesn't work
>Synopsis: Changing net.inet6.icmp6.redirtimeout doesn't work
>Arrival-Date: Mon Sep 14 05:15:00 +0000 2015
>Originator: Ryota Ozaki
NetBSD rangeley 7.99.21 NetBSD 7.99.21 (RANGELEY) #33: Thu Sep 10 09:15:06 JST 2015 ozaki-r@rangeley:(hidden) amd64
Changing net.inet6.icmp6.redirtimeout doesn't affect actual timeout (expiration time)
of routes created by icmp6 redirect. It's because sysctl updates icmp6_redirtimeout
variable, but doesn't update icmp6_redirect_timeout_q that is the timer routine of
the timeout feature.
Reported by s-yamaguchi@IIJ
See upcoming ATF tests for icmp6 redirect.
We need to update icmp6_redirect_timeout_q when updating icmp6_redirtimeout
as well as sysctl_net_inet_icmp_redirtimeout does for IPv4 icmp redirect.
Main Index |
Thread Index |