Re: [net PATCH 2/4] virtio_net: fix XDP code path in receive_small()

2018-02-20 Thread John Fastabend
On 02/20/2018 05:32 AM, Jesper Dangaard Brouer wrote: > When configuring virtio_net to use the code path 'receive_small()', > in-order to get correct XDP_REDIRECT support, I discovered TCP packets > would get silently dropped when loading an XDP program action XDP_PASS. > > The bug seems to be tha

[net PATCH 2/4] virtio_net: fix XDP code path in receive_small()

2018-02-20 Thread Jesper Dangaard Brouer
When configuring virtio_net to use the code path 'receive_small()', in-order to get correct XDP_REDIRECT support, I discovered TCP packets would get silently dropped when loading an XDP program action XDP_PASS. The bug seems to be that receive_small() when XDP is loaded check that hdr->hdr.flags i