summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-12-12 20:24:45 (GMT)
committerJeff Garzik <jgarzik@pobox.com>2005-12-12 20:24:45 (GMT)
commitb1086eef813ecee09bd6b8ae364acf0fad065cba (patch)
treebc723bbdfc2898252e3fd8e14320d7fac58dca4b /net/core/dev.c
parent003a20c81ec278595820d3829b544e90919f6f61 (diff)
parent49d7bc64283970ee83d2c954d04ba00d04e5943d (diff)
downloadlinux-fsl-qoriq-b1086eef813ecee09bd6b8ae364acf0fad065cba.tar.xz
Merge branch 'master'
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 94e642e..1a59f21 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1113,7 +1113,8 @@ out:
void netdev_rx_csum_fault(struct net_device *dev)
{
if (net_ratelimit()) {
- printk(KERN_ERR "%s: hw csum failure.\n", dev->name);
+ printk(KERN_ERR "%s: hw csum failure.\n",
+ dev ? dev->name : "<unknown>");
dump_stack();
}
}