Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362666
b: refs/heads/master
c: c846ad9
h: refs/heads/master
v: v3
  • Loading branch information
Ben Greear authored and David S. Miller committed Apr 19, 2013
1 parent 9e4095d commit a50cd19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b261c20fe089859cc43642e7006921498327fe3d
refs/heads/master: c846ad9b880ece01bb4d8d07ba917734edf0324f
3 changes: 3 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,9 @@ static void skb_warn_bad_offload(const struct sk_buff *skb)
struct net_device *dev = skb->dev;
const char *driver = "";

if (!net_ratelimit())
return;

if (dev && dev->dev.parent)
driver = dev_driver_string(dev->dev.parent);

Expand Down

0 comments on commit a50cd19

Please sign in to comment.