Commit 26095455 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

[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: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1cff94c6
...@@ -86,8 +86,10 @@ static kmem_cache_t *skbuff_head_cache; ...@@ -86,8 +86,10 @@ static kmem_cache_t *skbuff_head_cache;
*/ */
void skb_over_panic(struct sk_buff *skb, int sz, void *here) void skb_over_panic(struct sk_buff *skb, int sz, void *here)
{ {
printk(KERN_INFO "skput:over: %p:%d put:%d dev:%s", printk(KERN_EMERG "skb_over_panic: text:%p len:%d put:%d head:%p "
here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>"); "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(); BUG();
} }
...@@ -102,8 +104,10 @@ void skb_over_panic(struct sk_buff *skb, int sz, void *here) ...@@ -102,8 +104,10 @@ void skb_over_panic(struct sk_buff *skb, int sz, void *here)
void skb_under_panic(struct sk_buff *skb, int sz, void *here) void skb_under_panic(struct sk_buff *skb, int sz, void *here)
{ {
printk(KERN_INFO "skput:under: %p:%d put:%d dev:%s", printk(KERN_EMERG "skb_under_panic: text:%p len:%d put:%d head:%p "
here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>"); "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(); BUG();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment