patch-2.1.20 linux/drivers/net/hdlcdrv.c

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

diff -u --recursive --new-file v2.1.19/linux/drivers/net/hdlcdrv.c linux/drivers/net/hdlcdrv.c
@@ -790,8 +790,8 @@
 	dev->get_stats = hdlcdrv_get_stats;
 
 	/* Fill in the fields of the device structure */
-	for (i=0; i < DEV_NUMBUFFS; i++)
-		skb_queue_head_init(&dev->buffs[i]);
+
+	dev_init_buffers(dev);
 
 	skb_queue_head_init(&s->send_queue);
 	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov