projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204e2f9
)
gianfar: Fix a bug where the pointer never moves for dma_unmap...
author
Andy Fleming
<afleming@freescale.com>
Wed, 7 May 2008 18:20:55 +0000
(13:20 -0500)
committer
Jeff Garzik
<jgarzik@redhat.com>
Tue, 13 May 2008 05:31:38 +0000
(
01:31
-0400)
The loop that unmaps all of the TX Buffer Descriptors never actually
moves the txbd pointer, so we were just repeatedly unmapping the first one.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/gianfar.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/gianfar.c
b/drivers/net/gianfar.c
index 6f22f068d6ee948f6c89a59e958c4495faf473d5..25bdd0832df5752f4f0de2a23b8df710d0ee83ce 100644
(file)
--- a/
drivers/net/gianfar.c
+++ b/
drivers/net/gianfar.c
@@
-635,6
+635,8
@@
static void free_skb_resources(struct gfar_private *priv)
dev_kfree_skb_any(priv->tx_skbuff[i]);
priv->tx_skbuff[i] = NULL;
}
+
+ txbdp++;
}
kfree(priv->tx_skbuff);