NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/50240: Changing net.inet6.icmp6.redirtimeout doesn't work



>Number:         50240
>Category:       kern
>Synopsis:       Changing net.inet6.icmp6.redirtimeout doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 14 05:15:00 +0000 2015
>Originator:     Ryota Ozaki
>Release:        -current
>Organization:
>Environment:
NetBSD rangeley 7.99.21 NetBSD 7.99.21 (RANGELEY) #33: Thu Sep 10 09:15:06 JST 2015  ozaki-r@rangeley:(hidden) amd64
>Description:
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
>How-To-Repeat:
See upcoming ATF tests for icmp6 redirect.
>Fix:
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.



Home | Main Index | Thread Index | Old Index