drivers: net: xgene: fix: Add dma_unmap_single
authorIyappan Subramanian <isubramanian@apm.com>
Sat, 13 Aug 2016 05:05:38 +0000 (22:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:48:51 +0000 (11:48 -0700)
commit6e434627bce2a4ccf6d7eea50c08b4fdbb70dd3e
tree92331af89598f26e0b83edb3c38cced178e7d092
parentee0f95440dc16dd0db9c2856bed1e7806d1839de
drivers: net: xgene: fix: Add dma_unmap_single

In addition to xgene_enet_delete_bufpool() freeing skbs, their associated
dma memory should also be unmapped.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c