]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV6] ADDRCONF: Allow longer lifetime on 64bit archs.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 27 May 2008 08:37:49 +0000 (17:37 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 4 Jun 2008 19:02:34 +0000 (04:02 +0900)
commit4bed72e4f5502ea3322f0a00794815fa58951abe
treefd652d01822746a84d5812bbe2ee0661fbd3b86f
parentbaa2bfb8aef24bb7fe1875b256918724b3884662
[IPV6] ADDRCONF: Allow longer lifetime on 64bit archs.

- Allow longer lifetimes (>= 0x7fffffff/HZ) on 64bit archs
  by using unsigned long.
- Shadow this arithmetic overflow workaround by introducing
  helper functions: addrconf_timeout_fixup() and
  addrconf_finite_timeout().

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/net/addrconf.h
net/ipv6/addrconf.c
net/ipv6/route.c