patch-1.3.20 linux/net/ipv4/ip.c

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

diff -u --recursive --new-file v1.3.19/linux/net/ipv4/ip.c linux/net/ipv4/ip.c
@@ -127,6 +127,7 @@
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/proc_fs.h>
+#include <linux/stat.h>
 
 #include <net/snmp.h>
 #include <net/ip.h>
@@ -1695,7 +1696,6 @@
  
 static void ip_loopback(struct device *old_dev, struct sk_buff *skb)
 {
-	extern struct device loopback_dev;
 	struct device *dev=&loopback_dev;
 	int len=skb->len-old_dev->hard_header_len;
 	struct sk_buff *newskb=dev_alloc_skb(len+dev->hard_header_len+15);

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