inetpeer: Add redirect and PMTU discovery cached info.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 23:36:47 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Feb 2011 21:29:30 +0000 (13:29 -0800)
commitddd4aa424b866a08ceba7ddf38e61542c91b93a0
tree654235ceccd1c3f9dfbb7422ebe09b21544325d6
parent7a71ed899e77cc822abb863e24a422dcf7e9fa33
inetpeer: Add redirect and PMTU discovery cached info.

Validity of the cached PMTU information is indicated by it's
expiration value being non-zero, just as per dst->expires.

The scheme we will use is that we will remember the pre-ICMP value
held in the metrics or route entry, and then at expiration time
we will restore that value.

In this way PMTU expiration does not kill off the cached route as is
done currently.

Redirect information is permanent, or at least until another redirect
is received.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inetpeer.h
net/ipv4/inetpeer.c
This page took 0.024921 seconds and 5 git commands to generate.