From f7f5baf29358a612e419599704fe08b4917c6957 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Fri, 14 Jul 2023 12:19:08 -0700 Subject: [PATCH] netstack: remove finished TODO Fixes #6015. PiperOrigin-RevId: 548191467 --- test/packetimpact/tests/tcp_syncookie_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/packetimpact/tests/tcp_syncookie_test.go b/test/packetimpact/tests/tcp_syncookie_test.go index 6be09996b..9efccbe0b 100644 --- a/test/packetimpact/tests/tcp_syncookie_test.go +++ b/test/packetimpact/tests/tcp_syncookie_test.go @@ -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 != "" {