[6/*] [IPSEC] Fix xfrm[46]_update_pmtu to update top dst
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-02-16 11:08:42
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-02-16 11:08:42
Let's also fix IPsec PMTU storage. When we get an MTU update for an xfrm_dst, it should be done to the top dst, not the bottom dst. For example, when we get a need-to-frag message for host C behind a our IPsec peer B, we should be updating the dst entry for C and not B as we do now. I've removed the boundary checks since the same checks are done in ipv[46]/route.c already. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt