Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45044
b: refs/heads/master
c: 683a2aa
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu authored and Jeff Garzik committed Dec 26, 2006
1 parent 7f1f155 commit 98fa072
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a63e846a4099e6fbff86a3b112064378515f254
refs/heads/master: 683a2aa339f607c8a422835161ceab68b2a5a18a
10 changes: 10 additions & 0 deletions trunk/drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3318,6 +3318,16 @@ e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
if (skb->data_len && (hdr_len == (skb->len - skb->data_len))) {
switch (adapter->hw.mac_type) {
unsigned int pull_size;
case e1000_82544:
/* Make sure we have room to chop off 4 bytes,
* and that the end alignment will work out to
* this hardware's requirements
* NOTE: this is a TSO only workaround
* if end byte alignment not correct move us
* into the next dword */
if ((unsigned long)(skb->tail - 1) & 4)
break;
/* fall through */
case e1000_82571:
case e1000_82572:
case e1000_82573:
Expand Down

0 comments on commit 98fa072

Please sign in to comment.