patch-1.3.99 linux/include/linux/skbuff.h

Next file: linux/include/linux/string.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.98/linux/include/linux/skbuff.h linux/include/linux/skbuff.h
@@ -392,7 +392,11 @@
 	skb->tail+=len;
 	skb->len+=len;
 	if(skb->tail>skb->end)
-		panic("skput:over: %p:%d", __builtin_return_address(0),len);
+	{
+		__label__ here;
+		panic("skput:over: %p:%d", &&here,len);
+here:
+	}
 	return tmp;
 }
 
@@ -401,7 +405,11 @@
 	skb->data-=len;
 	skb->len+=len;
 	if(skb->data<skb->head)
-		panic("skpush:under: %p:%d", __builtin_return_address(0),len);
+	{
+		__label__ here;
+		panic("skpush:under: %p:%d", &&here,len);
+here:
+	}
 	return skb->data;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this