diff --git a/pkg/tcpip/buffer/view.go b/pkg/tcpip/buffer/view.go index bbb4e1d24..85ae38ac8 100644 --- a/pkg/tcpip/buffer/view.go +++ b/pkg/tcpip/buffer/view.go @@ -121,7 +121,6 @@ func (vv *VectorisedView) Clone(buffer []View) VectorisedView { } // First returns the first view of the vectorised view. -// It panics if the vectorised view is empty. func (vv *VectorisedView) First() View { if len(vv.views) == 0 { return nil