mirror of
https://github.com/torvalds/linux.git
synced 2026-09-19 09:08:02 +02:00
In rtase_start_xmit(), when the head buffer DMA mapping fails after
rtase_xmit_frags() has mapped all fragments, the error path clears
the fragment descriptors with rtase_tx_clear_range(), which frees
the skb through the last-frag slot and accounts tx_dropped. Control
then falls through to the common error label, which frees the same
skb a second time and counts it again.
Return right after clearing the fragments when the skb owns frags;
the no-frag case still drops through and frees the head skb once.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| rtase_main.c | ||
| rtase.h | ||