Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58387
b: refs/heads/master
c: 4ae47c2
h: refs/heads/master
i:
  58385: cd54ff3
  58383: e12a787
v: v3
  • Loading branch information
Francois Romieu authored and Jeff Garzik committed Jul 9, 2007
1 parent 4d49c29 commit eeac776
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 15d317587e17dcb96484e46b17b6e826a1f97661
refs/heads/master: 4ae47c2ddc55e3c571bb55fca921cfe9b02a685f
4 changes: 3 additions & 1 deletion trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -2040,10 +2040,12 @@ static u32 rtl8169_rx_fill(struct rtl8169_private *tp, struct net_device *dev,
{
u32 cur;

for (cur = start; end - cur > 0; cur++) {
for (cur = start; end - cur != 0; cur++) {
struct sk_buff *skb;
unsigned int i = cur % NUM_RX_DESC;

WARN_ON((s32)(end - cur) < 0);

if (tp->Rx_skbuff[i])
continue;

Expand Down

0 comments on commit eeac776

Please sign in to comment.