mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-13 04:27:41 +00:00
When un-mapping skb->data in __bcmgenet_tx_reclaim(),
we must use the length that was used in original dma_map_single(),
instead of skb->len that might be bigger (includes the frags)
We simply can store skb_len into tx_cb_ptr->dma_len and use it
at unmap time.
Fixes:
|
||
|---|---|---|
| .. | ||
| bcmgenet_wol.c | ||
| bcmgenet.c | ||
| bcmgenet.h | ||
| bcmmii.c | ||
| Makefile | ||