Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150234
b: refs/heads/master
c: df18acc
h: refs/heads/master
v: v3
  • Loading branch information
Peter Korsgaard authored and David S. Miller committed May 18, 2009
1 parent b2ae197 commit ffa5fd0
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: 61189c78bda846f4682c6003e893362f4305518b
refs/heads/master: df18acca8eb13c8cf55fa45e9f9231dc51f64d98
4 changes: 2 additions & 2 deletions trunk/drivers/net/usb/smsc95xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ static int smsc95xx_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
if (skb->len == size) {
if (pdata->use_rx_csum)
smsc95xx_rx_csum_offload(skb);

skb_trim(skb, skb->len - 4); /* remove fcs */
skb->truesize = size + sizeof(struct sk_buff);

return 1;
Expand All @@ -1152,7 +1152,7 @@ static int smsc95xx_rx_fixup(struct usbnet *dev, struct sk_buff *skb)

if (pdata->use_rx_csum)
smsc95xx_rx_csum_offload(ax_skb);

skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */
ax_skb->truesize = size + sizeof(struct sk_buff);

usbnet_skb_return(dev, ax_skb);
Expand Down

0 comments on commit ffa5fd0

Please sign in to comment.