8139cp: balance dma_map_single vs dma_unmap_single pair
commit839d1624b9dcf31fdc02e47359043bb7bd71d6ca
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 13 Aug 2009 05:18:14 +0000 (12 22:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 05:18:14 +0000 (12 22:18 -0700)
treedfad513ded1d7f88c3d946c5f56a8a7176f1b408
parent9799218ae36910af50f002a5db1802d576fffb43
8139cp: balance dma_map_single vs dma_unmap_single pair

The driver always:
1. allocate cp->rx_buf_sz + NET_IP_ALIGN
2. map cp->rx_buf_sz

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/8139cp.c