aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2022-05-13 18:34:03 +0000
committerDavid S. Miller <[email protected]>2022-05-16 09:18:56 +0000
commit0fe79f28bfaf73b66b7b1562d2468f94aa03bd12 (patch)
tree0656d24d4e0cc9d8ae6e04106737b392b706271c /drivers/net/loopback.c
parentipv6/gro: insert temporary HBH/jumbo header (diff)
downloadkernel-0fe79f28bfaf73b66b7b1562d2468f94aa03bd12.tar.gz
kernel-0fe79f28bfaf73b66b7b1562d2468f94aa03bd12.zip
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 <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions