diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-03-13 10:43:09 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-13 10:44:23 -0700 |
commit | 28d26d2c4f231c447a10bcbcfb8223a804c9d8bc (patch) | |
tree | 949a227ddd4dc40282473b71076d10279a9bbd2b /pkg/usermem/addr.go | |
parent | 8f8f16efafd48da3c5e4db329a90bb76620b2324 (diff) |
Honour the link's MaxHeaderLength when forwarding
LinkEndpoints may expect/assume that the a tcpip.PacketBuffer's Header
has enough capacity for its own headers, as per documentation for
LinkEndpoint.MaxHeaderLength.
Test: stack_test.TestNICForwarding
PiperOrigin-RevId: 300784192
Diffstat (limited to 'pkg/usermem/addr.go')
0 files changed, 0 insertions, 0 deletions