mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove TODOs for supporting TCP_INFO option.
TCP_INFO option is supported in gVisor, but does not return all the fields in struct TCP_INFO. The fields which were required for debugging are added. The support for other fields in the struct can be added when required. PiperOrigin-RevId: 632621246
This commit is contained in:
committed by
gVisor bot
parent
6fae8b623f
commit
eb0505cdf1
@@ -1201,8 +1201,6 @@ func getSockOptTCP(t *kernel.Task, s socket.Socket, ep commonEndpoint, name, out
|
||||
return nil, syserr.TranslateNetstackError(err)
|
||||
}
|
||||
|
||||
// TODO(b/64800844): Translate fields once they are added to
|
||||
// tcpip.TCPInfoOption.
|
||||
info := linux.TCPInfo{
|
||||
State: uint8(v.State),
|
||||
RTO: uint32(v.RTO / time.Microsecond),
|
||||
|
||||
Reference in New Issue
Block a user