-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Herbert" == Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> writes:
Herbert> Can someone explain the rationale behind dst->path and
Herbert> dst_pmtu to me?
Herbert> As far as I can see it was introduced specifically for
Herbert> IPsec. However, it seems to me that it makes no sense
Herbert> whatsoever in that case.
Herbert> As it is, the MTU for any peer with an IPsec policy is
Herbert> determined by the MTU of its dst->path. But this is wrong
Herbert> because it assigns a single MTU to all hosts behind an
Herbert> IPsec gateway, even though their paths may well diverge
Herbert> beyond the gateway.
Herbert> So unless I'm missing something, we should get rid of
Herbert> dst->path and store the MTU in the xfrm dst's directly.
Not being too familiar with the code, but being very familiar with
pmtu, what you say sounds perfect to me.
The pmtu WG is considering changing how PMTU is done. You may want to
look at draft-richardson-ipsec-fragment-XX.txt. This has not yet been
adopted as a WG draft, because nobody is sure which WG should adopt it:-)
] "Elmo went to the wrong fundraiser" - The Simpson | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr@xxxxxxxxxxxxx http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
-----END PGP SIGNATURE-----