Alexander Duyck
0fe79f28bf
net: allow gro_max_size to exceed 65536
...
Allow the gro_max_size to exceed a value larger than 65536.
There weren't really any external limitations that prevented this other
than the fact that IPv4 only supports a 16 bit length field. Since we have
the option of adding a hop-by-hop header for IPv6 we can allow IPv6 to
exceed this value and for IPv4 and non-TCP flows we can cap things at 65536
via a constant rather than relying on gro_max_size.
[edumazet] limit GRO_MAX_SIZE to (8 * 65535) to avoid overflows.
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com >
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2022-05-16 10:18:56 +01:00
..
2022-05-08 11:33:57 +01:00
2022-03-11 22:59:03 -08:00
2022-05-08 11:33:57 +01:00
2022-04-29 11:56:41 +01:00
2022-04-30 14:00:45 +01:00
2022-05-16 10:18:55 +01:00
2022-03-23 10:30:05 -07:00
2022-05-05 15:53:02 -07:00
2022-05-12 16:15:30 -07:00
2022-05-08 11:33:57 +01:00
2022-03-04 12:02:19 +00:00
2022-05-08 11:33:57 +01:00
2022-05-13 12:47:40 +01:00
2022-04-30 14:00:45 +01:00
2022-05-11 16:14:13 -07:00
2022-04-11 20:49:21 -07:00
2022-05-06 12:07:56 +01:00
2022-05-12 16:15:30 -07:00
2022-04-29 11:56:41 +01:00
2022-03-04 12:02:19 +00:00
2022-05-12 16:15:30 -07:00
2022-05-06 12:07:56 +01:00
2022-05-10 09:48:09 +02:00
2022-05-08 11:33:57 +01:00
2022-04-13 12:43:55 +01:00
2022-05-12 11:05:43 +02:00
2022-05-05 15:54:12 -07:00
2022-03-16 19:29:00 -07:00
2022-05-09 14:30:38 +01:00
2022-05-08 11:33:57 +01:00
2022-03-24 13:13:26 -07:00
2022-05-08 11:33:57 +01:00
2022-05-13 17:05:49 -07:00
2022-05-08 11:33:57 +01:00
2022-05-12 16:15:30 -07:00
2022-05-16 10:18:56 +01:00
2022-04-05 17:32:05 -07:00
2022-05-12 16:21:56 -07:00
2022-05-08 11:33:57 +01:00
2022-05-08 11:33:57 +01:00
2022-05-12 16:39:18 -07:00
2022-05-08 11:33:57 +01:00
2022-04-26 17:09:24 -07:00
2022-05-08 11:33:57 +01:00
2022-05-12 13:03:08 +02:00
2022-04-30 14:00:45 +01:00
2022-05-08 11:33:57 +01:00
2022-04-29 11:56:41 +01:00
2022-03-14 10:04:28 -07:00
2022-05-09 15:49:12 -07:00
2022-05-09 11:58:20 +01:00
2022-03-11 23:17:24 -08:00
2022-05-08 11:33:57 +01:00
2022-05-16 10:14:27 +01:00
2022-05-05 15:54:12 -07:00
2022-03-03 11:55:12 -08:00
2022-05-16 10:18:55 +01:00
2022-05-08 11:33:57 +01:00
2022-05-05 15:54:12 -07:00
2022-05-12 16:15:30 -07:00
2022-05-05 15:53:02 -07:00
2022-05-13 11:31:18 +01:00
2022-05-16 10:18:55 +01:00
2022-05-05 15:54:12 -07:00
2022-05-08 11:33:57 +01:00
2022-03-04 12:02:19 +00:00
2022-04-29 11:56:42 +01:00
2022-05-08 11:33:57 +01:00
2022-05-13 12:22:11 +01:00
2022-05-08 11:33:57 +01:00
2022-05-05 15:53:28 -07:00
2022-05-05 15:53:28 -07:00
2022-05-10 11:31:32 +02:00
2022-05-08 11:33:57 +01:00
2022-05-05 15:54:12 -07:00
2022-05-10 11:31:32 +02:00