Files
linux/drivers/net/ethernet/3com
Neil Horman 6e144419e4 3c59x: fix another page map/single unmap imbalance
libdma debug found another page map/unmap imbalance in 3c59x.  Multi fragment
frames are mapped such that the lead fragment was mapped as a single entry,
while all other fragments were mapped as pages.  However, on unmapping they were
all unmapped as pages.  Fix is pretty easy, just unmap the lead frag as a single
entry, and bump the for loop initalization up by one so that all subsequent
frags get unmapped as pages

Signed-off-by: Neil Horman <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: Steffen Klassert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2016-01-13 14:55:18 -05:00
..
…