]> git.hungrycats.org Git - linux/commitdiff
net/core/dev.c: Print lethal dev/protocol errors with KERN_CRIT.
authorDavid S. Miller <davem@nuts.ninka.net>
Sun, 6 Oct 2002 22:31:13 +0000 (15:31 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 6 Oct 2002 22:31:13 +0000 (15:31 -0700)
net/core/dev.c

index a1f8b13b0898707795e31c596b357b27a6d63b2f..cb92c7dd4bb1a90f2c789124ae9b631e11b19da1 100644 (file)
@@ -904,8 +904,8 @@ void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
                        if (skb2->nh.raw < skb2->data ||
                            skb2->nh.raw > skb2->tail) {
                                if (net_ratelimit())
-                                       printk(KERN_DEBUG "protocol %04x is "
-                                                         "buggy, dev %s\n",
+                                       printk(KERN_CRIT "protocol %04x is "
+                                              "buggy, dev %s\n",
                                               skb2->protocol, dev->name);
                                skb2->nh.raw = skb2->data;
                        }
@@ -1062,14 +1062,14 @@ int dev_queue_xmit(struct sk_buff *skb)
                        dev->xmit_lock_owner = -1;
                        spin_unlock_bh(&dev->xmit_lock);
                        if (net_ratelimit())
-                               printk(KERN_DEBUG "Virtual device %s asks to "
+                               printk(KERN_CRIT "Virtual device %s asks to "
                                       "queue packet!\n", dev->name);
                        goto out_enetdown;
                } else {
                        /* Recursion is detected! It is possible,
                         * unfortunately */
                        if (net_ratelimit())
-                               printk(KERN_DEBUG "Dead loop on virtual device "
+                               printk(KERN_CRIT "Dead loop on virtual device "
                                       "%s, fix it urgently!\n", dev->name);
                }
        }