| To: | "David S. Miller" <davem@xxxxxxxxxxxxx>, Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, James Morris <jmorris@xxxxxxxxxx>, YOSHIFUJI Hideaki <yoshfuji@xxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [5/*] [IPSEC] Use dst_mtu in xfrm[46]_output |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 16 Feb 2005 21:37:44 +1100 |
| In-reply-to: | <20050214221607.GC18465@xxxxxxxxxxxxxxxxxxx> |
| References: | <20050214221006.GA18415@xxxxxxxxxxxxxxxxxxx> <20050214221200.GA18465@xxxxxxxxxxxxxxxxxxx> <20050214221433.GB18465@xxxxxxxxxxxxxxxxxxx> <20050214221607.GC18465@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
There was a lot of fun in laying the foundations. Now it's time to start using it. This patch fixes the calculations in xfrm[46]_output so that we don't reject properly sized packets from the TCP stack. The previous calculation is wrong because the xfrm overhead is not constant. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> After this I'll start cleaning stuff up. For example, tcp's ext2_header_len and dst's path can both be removed. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [IPV4] Make loopback idev stick around, Herbert Xu |
|---|---|
| Next by Date: | 2.6.10 dst cache overflow, J. Simonetti |
| Previous by Thread: | Re: [4/4] [IPSEC] Store MTU at each xfrm_dst, Herbert Xu |
| Next by Thread: | [6/*] [IPSEC] Fix xfrm[46]_update_pmtu to update top dst, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |