Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353
b: refs/heads/master
c: 2609545
h: refs/heads/master
i:
  351: 4123366
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Apr 21, 2005
1 parent c3f26c2 commit 76401e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1cff94c6fecdc54d6f022ae5a22888f8272804a1
refs/heads/master: 26095455ac2943edb0852aba1ff8f8026aabe07b
12 changes: 8 additions & 4 deletions trunk/net/core/skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand All @@ -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)
{
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();
}

Expand Down

0 comments on commit 76401e1

Please sign in to comment.