Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97370
b: refs/heads/master
c: 56cfe5d
h: refs/heads/master
v: v3
  • Loading branch information
Wang Chen authored and Jeff Garzik committed May 22, 2008
1 parent 47401ab commit 0cc08dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 288369cc2580178ef6ed7c5c63cc1ef08c803250
refs/heads/master: 56cfe5d028687468f76e8b613c63ca41f209982d
6 changes: 2 additions & 4 deletions trunk/drivers/net/xen-netfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,8 +946,7 @@ static int xennet_poll(struct napi_struct *napi, int budget)
work_done++;
}

while ((skb = __skb_dequeue(&errq)))
kfree_skb(skb);
__skb_queue_purge(&errq);

work_done -= handle_incoming_queue(dev, &rxq);

Expand Down Expand Up @@ -1079,8 +1078,7 @@ static void xennet_release_rx_bufs(struct netfront_info *np)
}
}

while ((skb = __skb_dequeue(&free_list)) != NULL)
dev_kfree_skb(skb);
__skb_queue_purge(&free_list);

spin_unlock_bh(&np->rx_lock);
}
Expand Down

0 comments on commit 0cc08dd

Please sign in to comment.