Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66995
b: refs/heads/master
c: 6d1e3aa
h: refs/heads/master
i:
  66993: a895661
  66991: 68539c5
v: v3
  • Loading branch information
Krishna Kumar authored and David S. Miller committed Oct 10, 2007
1 parent 96086de commit 5662d35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: e2f036da2f8f72894988670953a1141da785e4f5
refs/heads/master: 6d1e3aa7bd47faacc08fdda8f58896bfd13ad90a
9 changes: 4 additions & 5 deletions trunk/drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3261,14 +3261,13 @@ e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
unsigned int first, max_per_txd = E1000_MAX_DATA_PER_TXD;
unsigned int max_txd_pwr = E1000_MAX_TXD_PWR;
unsigned int tx_flags = 0;
unsigned int len = skb->len;
unsigned int len = skb->len - skb->data_len;
unsigned long flags;
unsigned int nr_frags = 0;
unsigned int mss = 0;
unsigned int nr_frags;
unsigned int mss;
int count = 0;
int tso;
unsigned int f;
len -= skb->data_len;

/* This goes back to the question of how to logically map a tx queue
* to a flow. Right now, performance is impacted slightly negatively
Expand Down Expand Up @@ -3302,7 +3301,7 @@ e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
* points to just header, pull a few bytes of payload from
* frags into skb->data */
hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb);
if (skb->data_len && (hdr_len == (skb->len - skb->data_len))) {
if (skb->data_len && hdr_len == len) {
switch (adapter->hw.mac_type) {
unsigned int pull_size;
case e1000_82544:
Expand Down

0 comments on commit 5662d35

Please sign in to comment.