]> git.neil.brown.name Git - history.git/commit
[IPV6] fix algorithm for updating lifetime
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Sun, 6 Jul 2003 13:36:27 +0000 (23:36 +1000)
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Sun, 6 Jul 2003 13:36:27 +0000 (23:36 +1000)
commit6dd2de9ca6d2cf3482e74af7a0b505f953fd7beb
treef4e23ae7cabd65fc054242f3d0907e5af6ff7175
parent511db023274f3fca1e6a04b1019b495734dea185
[IPV6] fix algorithm for updating lifetime

This patch, depends on "IPV6: remove unused variable,"
fixes algorithm for updating lifetime according to RFC2462.
 - We should not delete an address even if prefix is
   advertised with valid lifetime == 0.
 - support the "2 hours" rule.
include/net/addrconf.h
net/ipv6/addrconf.c