Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26828
b: refs/heads/master
c: a06631c
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed May 20, 2006
1 parent cc9d297 commit 141f230
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 20e777a2a7dc9fad3d0b016c662c2fb60e6b20e7
refs/heads/master: a06631cbdc09fe33892f08238be498eaa84892ee
2 changes: 1 addition & 1 deletion trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static int skge_set_ring_param(struct net_device *dev,
int err;

if (p->rx_pending == 0 || p->rx_pending > MAX_RX_RING_SIZE ||
p->tx_pending == 0 || p->tx_pending > MAX_TX_RING_SIZE)
p->tx_pending < MAX_SKB_FRAGS+1 || p->tx_pending > MAX_TX_RING_SIZE)
return -EINVAL;

skge->rx_ring.count = p->rx_pending;
Expand Down

0 comments on commit 141f230

Please sign in to comment.