diff options
author | Arthur Sfez <asfez@google.com> | 2020-10-16 11:55:31 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-16 11:57:27 -0700 |
commit | edc10682448af970d72b600f1e4a2aedb387ec69 (patch) | |
tree | e342045b04b1efa80f98c8c2d2b53f3976067580 /pkg/eventchannel | |
parent | b491712e118fb007ebd3e7c6f51b9b511b6be5da (diff) |
Enable IPv4 fragmentation for every code path.
Currently, fragmentation can only occur during WritePacket(). This enables
it for WritePackets() and WriteIncludedHeaderPacket() as well.
IPv4 unit tests were refactored to be consistent with the IPv6 unit tests.
This removes the extraHeaderReserveLength field and the related
"prependable bytes" unit tests (for both IPv4 and IPv6) because it was only
testing a panic condition when the value was too low.
Fixes #3796
PiperOrigin-RevId: 337550061
Diffstat (limited to 'pkg/eventchannel')
0 files changed, 0 insertions, 0 deletions