patch-2.3.17 linux/drivers/net/ppp_async.c

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

diff -u --recursive --new-file v2.3.16/linux/drivers/net/ppp_async.c linux/drivers/net/ppp_async.c
@@ -20,7 +20,7 @@
  * ==FILEVERSION 990806==
  */
 
-/* $Id$ */
+/* $Id: ppp_async.c,v 1.3 1999/09/02 05:30:10 paulus Exp $ */
 
 #include <linux/module.h>
 #include <linux/kernel.h>
@@ -895,8 +895,7 @@
 			/* stuff the chars in the skb */
 			skb = ap->rpkt;
 			if (skb == 0) {
-				skb = alloc_skb(ap->mru + PPP_HDRLEN + 2,
-						GFP_ATOMIC);
+				skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2);
 				if (skb == 0)
 					goto nomem;
 				/* Try to get the payload 4-byte aligned */

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