diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 6f22f068d6ee..25bdd0832df5 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -635,6 +635,8 @@ static void free_skb_resources(struct gfar_private *priv) | |||
635 | dev_kfree_skb_any(priv->tx_skbuff[i]); | 635 | dev_kfree_skb_any(priv->tx_skbuff[i]); |
636 | priv->tx_skbuff[i] = NULL; | 636 | priv->tx_skbuff[i] = NULL; |
637 | } | 637 | } |
638 | |||
639 | txbdp++; | ||
638 | } | 640 | } |
639 | 641 | ||
640 | kfree(priv->tx_skbuff); | 642 | kfree(priv->tx_skbuff); |