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

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

diff -u --recursive --new-file v2.1.19/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -402,9 +402,8 @@
 	dev->tx_queue_len     = 10;
 	dev->type	      = ARPHRD_PPP;
 
-	for (indx = 0; indx < DEV_NUMBUFFS; indx++)
-		skb_queue_head_init (&dev->buffs[indx]);
-
+	dev_init_buffers(dev);
+	
 	/* New-style flags */
 	dev->flags	= IFF_POINTOPOINT;
 	dev->family	= AF_INET;

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