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

Next file: linux/include/linux/symtab_begin.h
Previous file: linux/include/linux/pci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/include/linux/skbuff.h linux/include/linux/skbuff.h
@@ -360,7 +360,8 @@
 	skb->next = NULL;
 	skb->prev = NULL;
 	skb->list = NULL;
-	(next->prev = prev)->next = next;
+	next->prev = prev;
+	prev->next = next;
 }
 
 /*
@@ -444,7 +445,7 @@
 extern int			datagram_select(struct sock *sk, int sel_type, select_table *wait);
 extern void			skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size);
 extern void			skb_copy_datagram_iovec(struct sk_buff *from, int offset, struct iovec *to,int size);
-extern void			skb_free_datagram(struct sk_buff *skb);
+extern void			skb_free_datagram(struct sock * sk, struct sk_buff *skb);
 
 #endif	/* __KERNEL__ */
 #endif	/* _LINUX_SKBUFF_H */

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