aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/skbuff.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 1b64817d7de6..f65b3de590a9 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -86,8 +86,10 @@ static kmem_cache_t *skbuff_head_cache;
86 */ 86 */
87void skb_over_panic(struct sk_buff *skb, int sz, void *here) 87void skb_over_panic(struct sk_buff *skb, int sz, void *here)
88{ 88{
89 printk(KERN_INFO "skput:over: %p:%d put:%d dev:%s", 89 printk(KERN_EMERG "skb_over_panic: text:%p len:%d put:%d head:%p "
90 here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>"); 90 "data:%p tail:%p end:%p dev:%s\n",
91 here, skb->len, sz, skb->head, skb->data, skb->tail, skb->end,
92 skb->dev ? skb->dev->name : "<NULL>");
91 BUG(); 93 BUG();
92} 94}
93 95
@@ -102,8 +104,10 @@ void skb_over_panic(struct sk_buff *skb, int sz, void *here)
102 104
103void skb_under_panic(struct sk_buff *skb, int sz, void *here) 105void skb_under_panic(struct sk_buff *skb, int sz, void *here)
104{ 106{
105 printk(KERN_INFO "skput:under: %p:%d put:%d dev:%s", 107 printk(KERN_EMERG "skb_under_panic: text:%p len:%d put:%d head:%p "
106 here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>"); 108 "data:%p tail:%p end:%p dev:%s\n",
109 here, skb->len, sz, skb->head, skb->data, skb->tail, skb->end,
110 skb->dev ? skb->dev->name : "<NULL>");
107 BUG(); 111 BUG();
108} 112}
109 113