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

Next file: linux/net/core/sock.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.6/linux/net/core/skbuff.c linux/net/core/skbuff.c
@@ -179,7 +179,7 @@
 #endif
 
 
-#ifdef CONFIG_SKB_CHECK
+#if CONFIG_SKB_CHECK
 void skb_queue_head_init(struct sk_buff_head *list)
 {
 	list->prev = (struct sk_buff *)list;
@@ -440,7 +440,7 @@
 			__builtin_return_address(0));
 		return;
   	}
-#ifdef CONFIG_SKB_CHECK
+#if CONFIG_SKB_CHECK
 	IS_SKB(skb);
 #endif
 	if (skb->lock)
@@ -544,6 +544,7 @@
 	skb->localroute=0;
 	skb->stamp.tv_sec=0;	/* No idea about time */
 	skb->localroute = 0;
+	skb->ip_summed = 0;
 	save_flags(flags);
 	cli();
 	net_skbcount++;

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