On 07/23/2018 11:43 AM, Björn Töpel wrote: > From: Björn Töpel <bjorn.to...@intel.com> > > 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 <qi.z.zh...@intel.com> > Tested-by: Qi Zhang <qi.z.zh...@intel.com> > Fixes: c497176cb2e4 ("xsk: add Rx receive functions and poll support") > Signed-off-by: Björn Töpel <bjorn.to...@intel.com>
Applied thanks, Björn!