WSL2-Linux-Kernel/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 <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>
2016-01-13 14:55:18 -05:00
..
3c59x.c 3c59x: fix another page map/single unmap imbalance 2016-01-13 14:55:18 -05:00
3c509.c drivers/net: fix eisa_driver probe section mismatch 2015-12-14 00:24:22 -05:00
3c515.c drivers/net: Convert remaining uses of pr_warning to pr_warn 2014-09-09 20:37:08 -07:00
3c574_cs.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
3c589_cs.c drivers/net: Use setup_timer and mod_timer 2015-02-11 19:40:12 -08:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile
typhoon.c net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
typhoon.h