summaryrefslogtreecommitdiff
path: root/drivers/dma/txx9dmac.c
diff options
context:
space:
mode:
authorSathya Perla <sathyap@serverengines.com>2010-03-22 23:41:34 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-23 23:22:40 +0300
commitec43b1a64a132303a6800c781bc17c683aedc55b (patch)
treee9eec6144264de7b07e6fe1039ee8b0f3d61b86e /drivers/dma/txx9dmac.c
parent7101e111217581a36e2eeae7c4a3815d60673cbc (diff)
downloadlinux-ec43b1a64a132303a6800c781bc17c683aedc55b.tar.xz
be2net: fix unmap_single/page() called incorrectly in Tx compl processing
The first wrb seen by tx compl processing does not have a dma handle in it. Currently, pci_unmap_single() is attempted on this wrb and pci_unmap_page() on the rest. So, pci_unmap_page() gets incorrectly called on the dma hdl of skb->data (that was mapped using map_single()). This patch fixes this issue. Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma/txx9dmac.c')
0 files changed, 0 insertions, 0 deletions