Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286181
b: refs/heads/master
c: e52ac33
h: refs/heads/master
i:
  286179: 412e78b
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Jan 17, 2012
1 parent baec12e commit 5fd30e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 27a429383b399fc0f68bea55c422d7179f3c8b05
refs/heads/master: e52ac3398c3d772d372b9b62ab408fd5eec96840
8 changes: 4 additions & 4 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1962,13 +1962,13 @@ struct sk_buff *skb_gso_segment(struct sk_buff *skb,

if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) {
struct net_device *dev = skb->dev;
struct ethtool_drvinfo info = {};
const char *driver = "";

if (dev && dev->ethtool_ops && dev->ethtool_ops->get_drvinfo)
dev->ethtool_ops->get_drvinfo(dev, &info);
if (dev && dev->dev.parent)
driver = dev_driver_string(dev->dev.parent);

WARN(1, "%s: caps=(%pNF, %pNF) len=%d data_len=%d ip_summed=%d\n",
info.driver, dev ? &dev->features : NULL,
driver, dev ? &dev->features : NULL,
skb->sk ? &skb->sk->sk_route_caps : NULL,
skb->len, skb->data_len, skb->ip_summed);

Expand Down

0 comments on commit 5fd30e0

Please sign in to comment.