gvisor/pkg/tcpip/link/channel
Andrei Vagin 4524790ff6 netstack: use a proper network protocol to set gso.L3HdrLen
It is possible to create a listening socket which will accept
IPv4 and IPv6 connections. In this case, we set IPv6ProtocolNumber
for all accepted endpoints, even if they handle IPv4 connections.

This means that we can't use endpoint.netProto to set gso.L3HdrLen.

PiperOrigin-RevId: 244227948
Change-Id: I5e1863596cb9f3d216febacdb7dc75651882eef1
2019-04-18 11:42:23 -07:00
..
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
channel.go netstack: use a proper network protocol to set gso.L3HdrLen 2019-04-18 11:42:23 -07:00