patch-pre2.0.10 linux/net/ipv4/ip_output.c

Next file: linux/net/ipv4/ipmr.c
Previous file: linux/net/ipv4/ip_masq_raudio.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.9/linux/net/ipv4/ip_output.c linux/net/ipv4/ip_output.c
@@ -450,6 +450,7 @@
 		{
 			sk->send_tail = skb;
 			sk->send_head = skb;
+			sk->send_next = skb;
 		}
 		else
 		{
@@ -1115,12 +1116,14 @@
 	ip_udp_init();*/
 
 #ifdef CONFIG_IP_MULTICAST
+#ifdef CONFIG_PROC_FS
 	proc_net_register(&(struct proc_dir_entry) {
 		PROC_NET_IGMP, 4, "igmp",
 		S_IFREG | S_IRUGO, 1, 0, 0,
 		0, &proc_net_inode_operations,
 		ip_mc_procinfo
 	});
+#endif	
 #endif
 }
 

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