patch-1.3.60 linux/drivers/net/tunnel.c

Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/drivers/net/tunnel.c linux/drivers/net/tunnel.c
@@ -82,10 +82,11 @@
 	dev->stop = &tunnel_close;
 #endif
 	/* Now stomp the bits that are different */
-	dev->type = ARPHRD_TUNNEL; /* IP tunnel hardware type (Linux 1.1.89) */
+	dev->type = ARPHRD_TUNNEL; 	/* IP tunnel hardware type (Linux 1.1.89) */
 	dev->flags |= IFF_NOARP;
-	dev->flags |= IFF_LOOPBACK; /* Why doesn't tunnel work without this? [ should do now - AC]*/
+	dev->flags |= IFF_LOOPBACK; 	/* Why doesn't tunnel work without this? [ should do now - AC]*/
 	dev->addr_len=0;
+	dev->tx_queue_len=2;		/* Small queue - it should all run through */
 	dev->hard_header_len=0;
 	dev->hard_header=NULL;
 	dev->header_cache_bind=NULL;

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