On 07/23/2018 11:43 AM, Björn Töpel wrote: > From: Björn Töpel <[email protected]> > > Polling for the ingress queues relies on reading the producer/consumer > pointers of the Rx queue. > > Prior this commit, a cached consumer pointer could be used, instead of > the actual consumer pointer and therefore report POLLIN prematurely. > > This patch makes sure that the non-cached consumer pointer is used > instead. > > Reported-by: Qi Zhang <[email protected]> > Tested-by: Qi Zhang <[email protected]> > Fixes: c497176cb2e4 ("xsk: add Rx receive functions and poll support") > Signed-off-by: Björn Töpel <[email protected]>
Applied thanks, Björn!
