patch-2.1.20 linux/drivers/net/tunnel.c
Next file: linux/drivers/net/wic.c
Previous file: linux/drivers/net/strip.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Jan 2 15:13:26 1997
- Orig file:
v2.1.19/linux/drivers/net/tunnel.c
- Orig date:
Thu Dec 12 19:37:06 1996
diff -u --recursive --new-file v2.1.19/linux/drivers/net/tunnel.c linux/drivers/net/tunnel.c
@@ -215,8 +215,6 @@
int tunnel_init(struct device *dev)
{
- int i;
-
/* Oh, just say we're here, in case anyone cares */
static int tun_msg=0;
if(!tun_msg)
@@ -236,8 +234,8 @@
memset(dev->priv, 0, sizeof(struct enet_statistics));
/* Initialize the tunnel device structure */
- for (i = 0; i < DEV_NUMBUFFS; i++)
- skb_queue_head_init(&dev->buffs[i]);
+
+ dev_init_buffers(dev);
dev->hard_header = NULL;
dev->rebuild_header = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov