Herbert Xu
21df56c6e2
[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 fixes it by changing alloc_pskb to make sure that
the size is at least 32-bit aligned. This does not cause the
problem fixed by the previous patch because max_header is always
32-bit aligned which means that in the SG/NOTSO case this will
be a no-op.
I thought about putting this in the callers but all the current
callers are from TCP. If and when we get a non-TCP caller we
can always create a TCP wrapper for this function and move the
alignment over there.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-11-18 18:48:08 -08:00
..
2007-10-19 11:53:43 -07:00
2007-10-22 02:59:47 -07:00
2007-10-26 03:56:43 -07:00
2007-10-10 16:54:51 -07:00
2007-10-15 12:26:40 -07:00
2007-11-09 11:43:41 -05:00
2007-10-10 16:53:11 -07:00
2007-07-10 22:06:12 -07:00
2007-07-15 00:03:05 -07:00
2007-07-10 22:15:42 -07:00
2007-04-26 15:50:17 -07:00
2007-11-10 22:06:01 -08:00
2007-10-10 16:55:55 -07:00
2006-12-02 21:22:50 -08:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:53:56 -07:00
2007-10-10 16:52:14 -07:00
2006-12-02 21:23:39 -08:00
2007-06-08 13:33:09 -07:00
2007-04-25 22:24:04 -07:00
2007-04-25 22:27:12 -07:00
2007-10-10 16:52:50 -07:00
2007-07-10 23:02:12 -07:00
2006-12-02 21:23:40 -08:00
2007-11-10 21:28:34 -08:00
2007-11-02 08:47:06 +01:00
2007-11-10 22:12:03 -08:00
2007-07-10 22:15:41 -07:00
2007-07-18 15:47:52 -07:00
2007-10-10 16:51:28 -07:00
2007-04-28 11:01:01 -04:00
2007-10-10 16:47:40 -07:00
2007-10-10 16:51:42 -07:00
2007-10-10 16:52:22 -07:00
2007-10-10 16:51:27 -07:00
2007-01-26 01:04:55 -08:00
2007-04-25 22:28:06 -07:00
2007-11-12 21:02:51 -08:00
2007-01-26 01:04:55 -08:00
2007-04-25 22:26:28 -07:00
2007-10-17 19:47:56 -07:00
2007-11-10 21:18:39 -08:00
2007-10-25 18:54:46 -07:00
2007-10-10 16:49:05 -07:00
2007-11-12 21:27:28 -08:00
2006-12-22 11:12:07 -08:00
2007-10-10 16:48:32 -07:00
2007-04-25 22:27:13 -07:00
2007-11-07 04:11:41 -08:00
2007-11-07 04:15:10 -08:00
2007-10-15 12:26:42 -07:00
2007-10-10 16:55:55 -07:00
2006-12-02 21:21:09 -08:00
2006-12-02 21:26:15 -08:00
2007-10-17 19:47:56 -07:00
2007-04-25 22:25:31 -07:00
2007-10-10 16:52:14 -07:00
2007-10-10 16:49:07 -07:00
2007-04-25 22:24:59 -07:00
2007-11-10 22:01:15 -08:00
2007-07-10 22:15:42 -07:00
2007-10-10 21:22:05 -07:00
2007-04-25 22:27:06 -07:00
2007-11-13 03:23:50 -08:00
2006-10-04 03:38:54 -04:00
2007-08-02 11:52:21 -04:00
2007-10-10 21:15:29 -07:00
2007-02-12 09:48:44 -08:00
2007-10-10 16:49:10 -07:00
2007-10-10 16:52:52 -07:00
2007-10-15 12:50:28 -07:00
2007-07-10 22:15:42 -07:00
2007-04-25 22:27:55 -07:00
2007-11-15 02:57:06 -08:00
2007-10-07 23:44:17 -07:00
2007-07-10 22:19:04 -07:00
2007-10-10 16:49:10 -07:00
2007-10-26 02:47:23 -07:00
2007-10-19 11:53:40 -07:00
2007-10-10 16:51:28 -07:00
2007-11-18 18:48:08 -08:00
2007-10-23 21:27:55 -07:00
2006-12-07 08:39:25 -08:00
2006-12-02 21:22:46 -08:00
2007-06-07 13:40:50 -07:00
2007-06-07 13:40:50 -07:00
2007-10-10 16:47:46 -07:00
2007-10-10 16:49:10 -07:00
2007-04-25 22:29:41 -07:00
2007-02-08 13:34:36 -08:00
2007-04-25 22:24:32 -07:00
2007-10-23 21:27:56 -07:00