ipv6: Don't drop cache route entry unless timer actually expired.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Sun, 28 Mar 2010 07:15:45 +0000 (07:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2010 02:34:26 +0000 (19:34 -0700)
commit54c1a859efd9fd6cda05bc700315ba2519c14eba
treec649e270baaa39f1dadbc0f2bc27842ea618dbb6
parent7855f761998893bb6bf861d55df95036fc9e36ab
ipv6: Don't drop cache route entry unless timer actually expired.

This is ipv6 variant of the commit 5e016cbf6.. ("ipv4: Don't drop
redirected route cache entry unless PTMU actually expired")
by Guenter Roeck <guenter.roeck@ericsson.com>.

Remove cache route entry in ipv6_negative_advice() only if
the timer is expired.

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