Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72903
b: refs/heads/master
c: 19abe86
h: refs/heads/master
i:
  72901: f9fe25c
  72899: a1a3218
  72895: dd86fe6
v: v3
  • Loading branch information
Auke Kok authored and Jeff Garzik committed Oct 30, 2007
1 parent 7acb3b8 commit 0e9c965
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: 6e4ca80d27374048c43651f87b4a9c6eb52667d1
refs/heads/master: 19abe86d60eeb34c5deeb3ab2d14229fa9f59157
4 changes: 2 additions & 2 deletions trunk/drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1321,8 +1321,8 @@ ixgb_tx_map(struct ixgb_adapter *adapter, struct sk_buff *skb,

/* Workaround for premature desc write-backs
* in TSO mode. Append 4-byte sentinel desc */
if (unlikely(mss && !nr_frags && size == len
&& size > 8))
if (unlikely(mss && (f == (nr_frags - 1))
&& size == len && size > 8))
size -= 4;

buffer_info->length = size;
Expand Down

0 comments on commit 0e9c965

Please sign in to comment.