Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132403
b: refs/heads/master
c: 97d477a
h: refs/heads/master
i:
  132401: 9b72922
  132399: 0741678
v: v3
  • Loading branch information
françois romieu authored and David S. Miller committed Mar 16, 2009
1 parent 3d17eb8 commit c827e95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 682337fe062e939578d933c74157ae9a36baa4ce
refs/heads/master: 97d477a914b146e7e6722ded21afa79886ae8ccd
8 changes: 0 additions & 8 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -3363,13 +3363,6 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
opts1 |= FirstFrag;
} else {
len = skb->len;

if (unlikely(len < ETH_ZLEN)) {
if (skb_padto(skb, ETH_ZLEN))
goto err_update_stats;
len = ETH_ZLEN;
}

opts1 |= FirstFrag | LastFrag;
tp->tx_skb[entry].skb = skb;
}
Expand Down Expand Up @@ -3407,7 +3400,6 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
err_stop:
netif_stop_queue(dev);
ret = NETDEV_TX_BUSY;
err_update_stats:
dev->stats.tx_dropped++;
goto out;
}
Expand Down

0 comments on commit c827e95

Please sign in to comment.