On Tue, May 02, 2023 at 08:51 AM -07, John Fastabend wrote: > A bug was reported where ioctl(FIONREAD) returned zero even though the > socket with a SK_SKB verdict program attached had bytes in the msg > queue. The result is programs may hang or more likely try to recover, > but use suboptimal buffer sizes. > > Add a test to check that ioctl(FIONREAD) returns the correct number of > bytes. > > Signed-off-by: John Fastabend <john.fastabend@xxxxxxxxx> > --- Reviewed-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx>