igb/igbvf: cleanup exception handling in tx_map_adv
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 23 Jan 2010 09:35:00 +0000 (01:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jan 2010 09:35:00 +0000 (01:35 -0800)
After removing the skb_dma_map/unmap calls the exception handling in
igb_tx_map_adv is not correct.  The issue is that the count value was not
being correctly handled so as a result we were not rewinding the ring as
back as we should have been.

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>

No differences found