aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-04-04 21:40:18 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-07 20:59:26 -0700
commitb681ee77f8ad248b0fdcec2e5e8c4df6e757eba3 (patch)
tree6857b8e1dac8847855eb4baaf3632f55035369a7 /drivers/net/virtio_net.c
parentbenet: use the dma state API instead of the pci equivalents (diff)
downloadlinux-dev-b681ee77f8ad248b0fdcec2e5e8c4df6e757eba3.tar.xz
linux-dev-b681ee77f8ad248b0fdcec2e5e8c4df6e757eba3.zip
benet: fix the misusage of zero dma address
benet driver wrongly assumes that zero is an invalid dma address (calls dma_unmap_page for only non zero dma addresses). Zero is a valid dma address on some architectures. The dma length can be used here. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions