Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286213
b: refs/heads/master
c: 65e9d2f
h: refs/heads/master
i:
  286211: 6e24a4c
v: v3
  • Loading branch information
Michał Mirosław authored and David S. Miller committed Jan 17, 2012
1 parent ac1fb12 commit 4bcfcd7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 36c92474498ad6cc3afb24b91a67a444d79978fe
refs/heads/master: 65e9d2faab70d07b9a38ac6ed298f191d24541fc
5 changes: 3 additions & 2 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,7 @@ EXPORT_SYMBOL(skb_set_dev);

static void skb_warn_bad_offload(const struct sk_buff *skb)
{
static const netdev_features_t null_features = 0;
struct net_device *dev = skb->dev;
const char *driver = "";

Expand All @@ -1897,8 +1898,8 @@ static void skb_warn_bad_offload(const struct sk_buff *skb)

WARN(1, "%s: caps=(%pNF, %pNF) len=%d data_len=%d gso_size=%d "
"gso_type=%d ip_summed=%d\n",
driver, dev ? &dev->features : NULL,
skb->sk ? &skb->sk->sk_route_caps : NULL,
driver, dev ? &dev->features : &null_features,
skb->sk ? &skb->sk->sk_route_caps : &null_features,
skb->len, skb->data_len, skb_shinfo(skb)->gso_size,
skb_shinfo(skb)->gso_type, skb->ip_summed);
}
Expand Down

0 comments on commit 4bcfcd7

Please sign in to comment.