diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2016-01-13 12:43:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-13 14:55:18 -0500 |
commit | 6e144419e4da11a9a4977c8d899d7247d94ca338 (patch) | |
tree | eb889a7f8fe0385f6ba73029cf888ebd2c8bb273 /drivers/net/usb/huawei_cdc_ncm.c | |
parent | 7356f4e42490d91939521c70b04812d5a07bd0f2 (diff) | |
download | linux-6e144419e4da11a9a4977c8d899d7247d94ca338.tar.gz |
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 <nhorman@tuxdriver.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/huawei_cdc_ncm.c')
0 files changed, 0 insertions, 0 deletions