summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/sharedmem/tx.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-03-13 10:43:09 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-13 10:44:23 -0700
commit28d26d2c4f231c447a10bcbcfb8223a804c9d8bc (patch)
tree949a227ddd4dc40282473b71076d10279a9bbd2b /pkg/tcpip/link/sharedmem/tx.go
parent8f8f16efafd48da3c5e4db329a90bb76620b2324 (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/tcpip/link/sharedmem/tx.go')
0 files changed, 0 insertions, 0 deletions