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

Re: [15/*] [INET] Fix IPsec calculation in ip_append_data/ip6_append_data

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-03-21 20:28:04

On Mon, Mar 21, 2005 at 06:14:07PM +0200, Mika Penttil? wrote:
Shouldn't ip_output also use the path variant, dst_mtu(skb->dst->path), 
it's surely after ipsec- processing?
That's the reason why it shouldn't use dst->path.  The only time you
should use dst_mtu(dst->path) is when dst may contain IPsec AND you
need the MTU outside IPsec.

In this case dst cannot contain IPsec so dst_mtu(dst) is correct.

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help