patch-2.4.4 linux/drivers/net/tun.c

Next file: linux/drivers/net/via-rhine.c
Previous file: linux/drivers/net/tulip/tulip_core.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/tun.c linux/drivers/net/tun.c
@@ -48,7 +48,7 @@
 #include <asm/uaccess.h>
 
 #ifdef TUN_DEBUG
-static int debug=0;
+static int debug;
 #endif
 
 /* Network device part of the driver */
@@ -147,8 +147,6 @@
 		dev->type = ARPHRD_PPP; 
 		dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST;
 		dev->tx_queue_len = 10;
-
-		dev_init_buffers(dev);
 		break;
 
 	case TUN_TAP_DEV:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)