Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298457
b: refs/heads/master
c: 0646819
h: refs/heads/master
i:
  298455: 4ece355
v: v3
  • Loading branch information
Yi Zou authored and Jeff Kirsher committed Mar 17, 2012
1 parent 66ed060 commit 23f73a6
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: c29f40ca19b8ca284a2d1415e26b802bc9b2fb67
refs/heads/master: 0646819cd31786f4b024d0056f73adf460be40aa
3 changes: 2 additions & 1 deletion trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -2636,7 +2636,8 @@ static inline int netif_needs_gso(struct sk_buff *skb,
netdev_features_t features)
{
return skb_is_gso(skb) && (!skb_gso_ok(skb, features) ||
unlikely(skb->ip_summed != CHECKSUM_PARTIAL));
unlikely((skb->ip_summed != CHECKSUM_PARTIAL) &&
(skb->ip_summed != CHECKSUM_UNNECESSARY)));
}

static inline void netif_set_gso_max_size(struct net_device *dev,
Expand Down

0 comments on commit 23f73a6

Please sign in to comment.