Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189500
b: refs/heads/master
c: 7c0d10d
h: refs/heads/master
v: v3
  • Loading branch information
Andy Fleming authored and David S. Miller committed Mar 31, 2010
1 parent 3d616a4 commit 9c4c40b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baff42ab1494528907bf4d5870359e31711746ae
refs/heads/master: 7c0d10d35f7f47d00cc5f2b85ee5e95c2b1fdb7e
4 changes: 2 additions & 2 deletions trunk/drivers/net/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1638,13 +1638,13 @@ static void free_skb_resources(struct gfar_private *priv)
/* Go through all the buffer descriptors and free their data buffers */
for (i = 0; i < priv->num_tx_queues; i++) {
tx_queue = priv->tx_queue[i];
if(!tx_queue->tx_skbuff)
if(tx_queue->tx_skbuff)
free_skb_tx_queue(tx_queue);
}

for (i = 0; i < priv->num_rx_queues; i++) {
rx_queue = priv->rx_queue[i];
if(!rx_queue->rx_skbuff)
if(rx_queue->rx_skbuff)
free_skb_rx_queue(rx_queue);
}

Expand Down

0 comments on commit 9c4c40b

Please sign in to comment.