diff options
| author | Ezequiel Garcia <[email protected]> | 2014-05-30 16:40:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-06-02 23:16:05 +0000 |
| commit | ba7e46ef9d4550f76efb70739728c50bbf94c3a9 (patch) | |
| tree | 09f4767a4016a3d527257ec80a3ab9c2c8ad97df /drivers/net/xen-netback/interface.c | |
| parent | net: mvneta: Limit the TSO segments and adjust stop/wake thresholds (diff) | |
| download | kernel-ba7e46ef9d4550f76efb70739728c50bbf94c3a9.tar.gz kernel-ba7e46ef9d4550f76efb70739728c50bbf94c3a9.zip | |
net: mvneta: Fix missing DMA region unmap
The Tx descriptor release code currently calls dma_unmap_single() and
dev_kfree_skb_any() if the descriptor is associated with a non-NULL skb.
This is true only for the last fragment of the packet.
This is wrong, however, since every descriptor buffer is DMA mapped and needs
to be unmapped.
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
