netstack: remove finished TODO

Fixes #6015.

PiperOrigin-RevId: 548191467
This commit is contained in:
Kevin Krakauer
2023-07-14 12:23:58 -07:00
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 != "" {