Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58725
b: refs/heads/master
c: f957da2
h: refs/heads/master
i:
  58723: 1862e1c
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Jul 10, 2007
1 parent 8bf63a8 commit bb54b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 71749531f2d1954137a1a77422ef4ff29eb102dd
refs/heads/master: f957da2aa0b7ef9659a45b0895ec4a08602b1c15
3 changes: 1 addition & 2 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,7 @@ static int sky2_rx_start(struct sky2_port *sky2)
rx_set_checksum(sky2);

/* Space needed for frame data + headers rounded up */
size = ALIGN(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8)
+ 8;
size = roundup(sky2->netdev->mtu + ETH_HLEN + VLAN_HLEN, 8);

/* Stopping point for hardware truncation */
thresh = (size - 8) / sizeof(u32);
Expand Down

0 comments on commit bb54b1e

Please sign in to comment.