]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipv6 addrconf: Fix route lifetime setting in corner case.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Mon, 19 May 2008 23:54:29 +0000 (16:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2008 23:54:29 +0000 (16:54 -0700)
commita3264435b4ca1ccee54cbef2970f2ba4bef39e2d
tree179467e618008c397aff4d990fd0e6aad77edc2c
parent44dc19c829c057dc78a5ffacaf851ac4c301eb58
ipv6 addrconf: Fix route lifetime setting in corner case.

Because of arithmetic overflow avoidance, the actual lifetime setting
(vs the value given by RA) did not increase monotonically around
0x7fffffff/HZ.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c