mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
netstack: remove finished TODO
Fixes #6015. PiperOrigin-RevId: 548191467
This commit is contained in:
committed by
gVisor bot
parent
0d52b50f83
commit
f7f5baf293
@@ -131,12 +131,7 @@ func TestTCPSynCookie(t *testing.T) {
|
||||
if test.accept {
|
||||
fd, _ := dut.Accept(t, listenFD)
|
||||
if test.flags.Contains(header.TCPFlagFin) {
|
||||
if dut.Uname.IsLinux() {
|
||||
dut.PollOne(t, fd, unix.POLLIN|unix.POLLRDHUP, time.Second)
|
||||
} else {
|
||||
// TODO(gvisor.dev/issue/6015): Notify POLLIN|POLLRDHUP on incoming FIN.
|
||||
dut.PollOne(t, fd, unix.POLLIN, time.Second)
|
||||
}
|
||||
dut.PollOne(t, fd, unix.POLLIN|unix.POLLRDHUP, time.Second)
|
||||
}
|
||||
got := dut.Recv(t, fd, int32(len(sampleData)), 0)
|
||||
if diff := cmp.Diff(got, sampleData); diff != "" {
|
||||
|
||||
Reference in New Issue
Block a user