Re: [TCP]: Fix TCP header misalignment

2007-11-18 Thread Herbert Xu
David Miller <[EMAIL PROTECTED]> wrote: > > I'm getting this without IPSEC FWIW. I believe it occurs when I talk > to sites with sub-1500 MTUs. It is possible to get this with any MTU that's not a multiple of 4. I was basing my comment above on the fact that such MTUs are usually rare. However,

Re: [TCP]: Fix TCP header misalignment

2007-11-18 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Sun, 18 Nov 2007 20:15:30 +0800 > [TCP]: Fix TCP header misalignment > > Indeed my previous change to alloc_pskb has made it possible > for the TCP header to be misaligned iff the MTU is not a multiple > of 4 (and less than a pag

[TCP]: Fix TCP header misalignment

2007-11-18 Thread Herbert Xu
Hi Dave: [TCP]: Fix TCP header misalignment Indeed my previous change to alloc_pskb has made it possible for the TCP header to be misaligned iff the MTU is not a multiple of 4 (and less than a page). So I suspect the optimised IPsec MTU calculation is giving you just such an MTU :) This patch