igbvf: resolve "frees DMA memory with different size" warnings
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 23 Jul 2009 18:11:01 +0000 (18:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Jul 2009 16:47:05 +0000 (09:47 -0700)
commit92d947b77436437f4fe6f9b7b7cd35f1a294fa9d
tree798daa9cb74a2c4ff132933e3cf08182813b06c4
parenta0c98605d7237fc4bf26a345db5f950f46e69834
igbvf: resolve "frees DMA memory with different size" warnings

This change resolves some warnings seen with DMA debugging enabled in which
we were mapping skb->data with size + NET_IP_ALIGN and unmapping it with
just size.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igbvf/netdev.c