diff --git a/pkg/tcpip/link/channel/channel.go b/pkg/tcpip/link/channel/channel.go index 1b4d5d7ee..682978d63 100644 --- a/pkg/tcpip/link/channel/channel.go +++ b/pkg/tcpip/link/channel/channel.go @@ -167,7 +167,7 @@ func (e *Endpoint) Read() *stack.PacketBuffer { } // ReadContext does blocking read for one packet from the outbound packet queue. -// It can be cancelled by ctx, and in this case, it returns false. +// It can be cancelled by ctx, and in this case, it returns nil. func (e *Endpoint) ReadContext(ctx context.Context) *stack.PacketBuffer { return e.q.ReadContext(ctx) }