Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264314
b: refs/heads/master
c: a4be637
h: refs/heads/master
v: v3
  • Loading branch information
Roy.Li authored and Ralf Baechle committed Sep 27, 2011
1 parent 2b3c90f commit 4bbba71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 2f19d080fb14bdddf11bf54d4db6306235c46c99
refs/heads/master: a4be637b34a543af5b5421a8ee0ee04d30f5f58e
3 changes: 2 additions & 1 deletion trunk/drivers/staging/octeon/ethernet-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ static int cvm_oct_napi_poll(struct napi_struct *napi, int budget)
skb->protocol = eth_type_trans(skb, dev);
skb->dev = dev;

if (unlikely(work->word2.s.not_IP || work->word2.s.IP_exc || work->word2.s.L4_error))
if (unlikely(work->word2.s.not_IP || work->word2.s.IP_exc ||
work->word2.s.L4_error || !work->word2.s.tcp_or_udp))
skb->ip_summed = CHECKSUM_NONE;
else
skb->ip_summed = CHECKSUM_UNNECESSARY;
Expand Down

0 comments on commit 4bbba71

Please sign in to comment.