summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMatt Vollrath <tactii@gmail.com>2026-04-16 23:34:52 -0400
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-07-28 11:23:01 -0700
commit0565052b7e2f436b7f1541f4849da96dc0aa7a0e (patch)
tree8b59a06c256cd17871dba9ac8d70edef98362cdb /tools/perf/scripts/python/bin
parent5ffab5b9589c50e4cfc0cf36ffd76c89422d4019 (diff)
igbvf: Fix leak in TX DMA error cleanup
If an error is encountered while mapping TX buffers, the driver should unmap any buffers already mapped for that skb. Because count is incremented before each frag mapping, it will always match the correct number of unmappings needed when dma_error is reached. Decrementing count before the while loop in dma_error causes an off-by-one error. If any mapping was successful before an unsuccessful mapping, exactly one DMA mapping (the head) would leak. This bug was introduced by a 2010 fix for an endless loop in dma_error. All other affected drivers have already been fixed. Fixes: c1fa347f20f1 ("e1000/e1000e/igb/igbvf/ixgb/ixgbe: Fix tests of unsigned in *_tx_map()") Cc: stable@vger.kernel.org Assisted-by: Claude:claude-4-7-opus Signed-off-by: Matt Vollrath <tactii@gmail.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions