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-04-30 12:58:44 +01:00
2022-05-16 10:18:56 +01:00
2022-05-06 12:07:56 +01:00
2021-12-16 07:18:35 -08:00
2022-05-16 10:18:56 +01:00
2022-01-22 08:33:37 +02:00
2022-05-16 10:18:55 +01:00
2020-06-18 20:46:23 -07:00