tree 0ff6d976f3ae94e1428564fdfad8baba67e7faa6
parent 1cff94c6fecdc54d6f022ae5a22888f8272804a1
author Patrick McHardy <[EMAIL PROTECTED]> Fri, 22 Apr 2005 06:43:02 -0700
committer David S. Miller <[EMAIL PROTECTED]> Fri, 22 Apr 2005 06:43:02 -0700

[NET]: Add missing newline for skb_*_panic

While we're at it, lets also replace KERN_INFO by KERN_EMERG to
make sure the user gets to see it.

Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 core/skbuff.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

Index: net/core/skbuff.c
===================================================================
--- 42fbf4cd2a674d83e2363bab0729ca13b0aeae0a/net/core/skbuff.c  (mode:100644 
sha1:1b64817d7de6b8a1fc1173aa2b2ed898c08a6033)
+++ 0ff6d976f3ae94e1428564fdfad8baba67e7faa6/net/core/skbuff.c  (mode:100644 
sha1:f65b3de590a96ff2ecc7df6b7a4b9020a641e549)
@@ -86,8 +86,10 @@ static kmem_cache_t *skbuff_head_cache;
  */
 void skb_over_panic(struct sk_buff *skb, int sz, void *here)
 {
-       printk(KERN_INFO "skput:over: %p:%d put:%d dev:%s",
-               here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>");
+       printk(KERN_EMERG "skb_over_panic: text:%p len:%d put:%d head:%p "
+                         "data:%p tail:%p end:%p dev:%s\n",
+              here, skb->len, sz, skb->head, skb->data, skb->tail, skb->end,
+              skb->dev ? skb->dev->name : "<NULL>");
        BUG();
 }
 
@@ -102,8 +104,10 @@ void skb_over_panic(struct sk_buff *skb,
 
 void skb_under_panic(struct sk_buff *skb, int sz, void *here)
 {
-       printk(KERN_INFO "skput:under: %p:%d put:%d dev:%s",
-               here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>");
+       printk(KERN_EMERG "skb_under_panic: text:%p len:%d put:%d head:%p "
+                         "data:%p tail:%p end:%p dev:%s\n",
+              here, skb->len, sz, skb->head, skb->data, skb->tail, skb->end,
+              skb->dev ? skb->dev->name : "<NULL>");
        BUG();
 }
 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to