summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/dev/include/linux/skbuff.h10
-rw-r--r--linux/src/include/linux/skbuff.h8
2 files changed, 4 insertions, 14 deletions
diff --git a/linux/dev/include/linux/skbuff.h b/linux/dev/include/linux/skbuff.h
index cbaba20..c55e529 100644
--- a/linux/dev/include/linux/skbuff.h
+++ b/linux/dev/include/linux/skbuff.h
@@ -404,10 +404,7 @@ extern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
skb->len+=len;
if(skb->tail>skb->end)
{
- __label__ here;
- panic("skput:over: %p:%d", &&here,len);
-here:
- ;
+ panic("skput:over: %d", len);
}
return tmp;
}
@@ -418,10 +415,7 @@ extern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
skb->len+=len;
if(skb->data<skb->head)
{
- __label__ here;
- panic("skpush:under: %p:%d", &&here,len);
-here:
- ;
+ panic("skpush:under: %d", len);
}
return skb->data;
}
diff --git a/linux/src/include/linux/skbuff.h b/linux/src/include/linux/skbuff.h
index cf05129..e4c77b4 100644
--- a/linux/src/include/linux/skbuff.h
+++ b/linux/src/include/linux/skbuff.h
@@ -405,9 +405,7 @@ extern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
skb->len+=len;
if(skb->tail>skb->end)
{
- __label__ here;
- panic("skput:over: %p:%d", &&here,len);
-here:
+ panic("skput:over: %d", len);
}
return tmp;
}
@@ -418,9 +416,7 @@ extern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
skb->len+=len;
if(skb->data<skb->head)
{
- __label__ here;
- panic("skpush:under: %p:%d", &&here,len);
-here:
+ panic("skpush:under: %d", len);
}
return skb->data;
}