diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-03-10 17:50:47 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-10 17:52:31 -0700 |
commit | f56fe66b13b979f2ac96e8fce6fb0a5dec9a32e0 (patch) | |
tree | e73883f0d5b4f56eefee4eea8755592332d1f3a4 /pkg/tcpip/stack/icmp_rate_limit.go | |
parent | d6440ec5a125746b76f189c0a5d5946dde9afc37 (diff) |
Honour the link's MaxHeaderLength when forwarding
This change also updates where the IP packet buffer is held in an
outbound tcpip.PacketBuffer from Header to Data. This change removes
unncessary copying of the IP packet buffer when forwarding.
Test: stack_test.TestNICForwarding
PiperOrigin-RevId: 300217972
Diffstat (limited to 'pkg/tcpip/stack/icmp_rate_limit.go')
0 files changed, 0 insertions, 0 deletions