netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPsec and Path MTU
@ 2004-06-15 12:43 Herbert Xu
  2004-06-15 14:50 ` Michael Richardson
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Herbert Xu @ 2004-06-15 12:43 UTC (permalink / raw)
  To: kuznet, davem, jmorris, netdev

Hi:

Can someone explain the rationale behind dst->path and dst_pmtu to me?

As far as I can see it was introduced specifically for IPsec.  However,
it seems to me that it makes no sense whatsoever in that case.

As it is, the MTU for any peer with an IPsec policy is determined
by the MTU of its dst->path.  But this is wrong because it assigns
a single MTU to all hosts behind an IPsec gateway, even though their
paths may well diverge beyond the gateway.

So unless I'm missing something, we should get rid of dst->path and
store the MTU in the xfrm dst's directly.

Comments?
-- 
Visit Openswan at http://www.openswan.org/
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2004-06-18 22:21 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-15 12:43 IPsec and Path MTU Herbert Xu
2004-06-15 14:50 ` Michael Richardson
2004-06-16 11:43   ` Herbert Xu
2004-06-16 14:43     ` Michael Richardson
2004-06-18  7:35   ` Glen Turner
2004-06-16 12:10 ` Herbert Xu
2004-06-16 14:12   ` James Morris
2004-06-16 20:23   ` Alexey Kuznetsov
2004-06-16 20:49     ` David S. Miller
2004-06-16 23:11     ` Herbert Xu
2004-06-17 17:58       ` David S. Miller
2004-06-17 21:31         ` Herbert Xu
2004-06-17 22:22           ` David S. Miller
2004-06-17 23:09             ` Herbert Xu
2004-06-16 19:56 ` Alexey Kuznetsov
2004-06-16 23:13   ` Herbert Xu
2004-06-17 19:01     ` Alexey Kuznetsov
2004-06-17 21:38       ` Herbert Xu
2004-06-17 22:29         ` David S. Miller
2004-06-17 23:12           ` Herbert Xu
2004-06-17 23:14             ` David S. Miller
2004-06-17 23:18               ` Herbert Xu
     [not found]         ` <20040618202551.GA2733@ms2.inr.ac.ru>
2004-06-18 22:21           ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).