Thread (114 messages) 114 messages, 9 authors, 2005-04-22

Re: [4/4] [IPSEC] Store MTU at each xfrm_dst

From: "David S. Miller" <davem@davemloft.net>
Date: 2005-03-07 05:32:14

On Tue, 15 Feb 2005 09:16:07 +1100
Herbert Xu [off-list ref] wrote:
Finally this is the patch that sets the MTU values of each xfrm_dst
and keeps it up-to-date.
  
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

To recap, at this point we've obtained accurate MTU values at each
xfrm_dst.  The next step would be to start using it as
dst_pmtu(xfrm_dst).
Applied, but with a bug fix:

+		mtu = dst_pmtu(xdst->route);
+		if (xdst->child_mtu_cached != mtu) {
+			last = xdst;
+			xdst->route_mtu_cached = mtu;
+		}

You obviously meant "route_mtu_cached" in the test,
not child_mtu_cached.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help