From fe9d22f06bfa15c2c4365b1a026d063940329dc8 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Wed, 17 Apr 2024 17:21:00 -0700 Subject: [PATCH] netstack: remove unused XDP reference in fdbased endpoint This is dead code. XDP now has its own endpoint. PiperOrigin-RevId: 625854393 --- pkg/tcpip/link/fdbased/endpoint.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/tcpip/link/fdbased/endpoint.go b/pkg/tcpip/link/fdbased/endpoint.go index 47e289af1..314154445 100644 --- a/pkg/tcpip/link/fdbased/endpoint.go +++ b/pkg/tcpip/link/fdbased/endpoint.go @@ -221,11 +221,6 @@ type Options struct { // system call. MaxSyscallHeaderBytes int - // AFXDPFD is used with the experimental AF_XDP mode. - // TODO(b/240191988): Use multiple sockets. - // TODO(b/240191988): How do we handle the MTU issue? - AFXDPFD *int - // InterfaceIndex is the interface index of the underlying device. InterfaceIndex int