OSDN Git Service

ipv6: use timer pending
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 21 Jul 2008 20:21:35 +0000 (13:21 -0700)
committerWilly Tarreau <w@1wt.eu>
Sat, 6 Sep 2008 11:35:24 +0000 (13:35 +0200)
commitdcf072a1b618564cec29187c36924045207674bd
tree489b591aed42b7c4756c4d29c7ede3d183a23575
parent72155e6da45062497532710b922e8b661f7cee16
ipv6: use timer pending

[backport of 2.6 commit 847499ce71bdcc8fc542062df6ebed3e596608dd]

This fixes the bridge reference count problem and cleanups ipv6 FIB
timer management.  Don't use expires field, because it is not a proper
way to test, instead use timer_pending().

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
net/ipv6/ip6_fib.c