diff options
author | Martin Habets <[email protected]> | 2022-04-04 11:48:51 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-04-04 12:53:52 +0100 |
commit | 458f5d92df4807e2a7c803ed928369129996bf96 (patch) | |
tree | b39ba87efdb8e6a849d3ed1cdf61263120beefd2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 2baed4f9b085724a8a34add832d4763f3d83f877 (diff) |
sfc: Do not free an empty page_ring
When the page_ring is not used page_ptr_mask is 0.
Do not dereference page_ring[0] in this case.
Fixes: 2768935a4660 ("sfc: reuse pages to avoid DMA mapping/unmapping costs")
Reported-by: Taehee Yoo <[email protected]>
Signed-off-by: Martin Habets <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions