patch-2.1.13 linux/net/core/skbuff.c

Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/ax25/af_ax25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.12/linux/net/core/skbuff.c linux/net/core/skbuff.c
@@ -505,7 +505,7 @@
  *	Add data to an sk_buff
  */
  
-unsigned char *skb_put(struct sk_buff *skb, int len)
+unsigned char *skb_put(struct sk_buff *skb, unsigned int len)
 {
 	unsigned char *tmp=skb->tail;
 	IS_SKB(skb);
@@ -517,7 +517,7 @@
 	return tmp;
 }
 
-unsigned char *skb_push(struct sk_buff *skb, int len)
+unsigned char *skb_push(struct sk_buff *skb, unsigned int len)
 {
 	IS_SKB(skb);
 	skb->data-=len;
@@ -528,7 +528,7 @@
 	return skb->data;
 }
 
-unsigned char * skb_pull(struct sk_buff *skb, int len)
+unsigned char * skb_pull(struct sk_buff *skb, unsigned int len)
 {
 	IS_SKB(skb);
 	if(len>skb->len)
@@ -550,7 +550,7 @@
 	return skb->end-skb->tail;
 }
 
-void skb_reserve(struct sk_buff *skb, int len)
+void skb_reserve(struct sk_buff *skb, unsigned int len)
 {
 	IS_SKB(skb);
 	skb->data+=len;
@@ -562,7 +562,7 @@
 	IS_SKB(skb);
 }
 
-void skb_trim(struct sk_buff *skb, int len)
+void skb_trim(struct sk_buff *skb, unsigned int len)
 {
 	IS_SKB(skb);
 	if(skb->len>len)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov