diff options
author | Björn Töpel <[email protected]> | 2018-07-23 11:43:03 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-07-26 02:53:10 +0200 |
commit | d24458e43b103c7eb7b2fd57bcac392fd7750438 (patch) | |
tree | d5075e1f336d2568f6b393d8b1d1c501cf1c4c13 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9e4e5b5c86661e767f3074bedbbf2ca59f8fbd18 (diff) |
xsk: fix poll/POLLIN premature returns
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]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions