patch-2.1.86 linux/drivers/net/ppp.c
Next file: linux/drivers/net/sdla_fr.c
Previous file: linux/drivers/net/plip.c
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
Tue Feb 10 12:56:45 1998
- Orig file:
v2.1.85/linux/drivers/net/ppp.c
- Orig date:
Fri Jan 30 11:28:07 1998
diff -u --recursive --new-file v2.1.85/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -2892,7 +2892,7 @@
* Avoid timing problem should tty hangup while data is queued to be sent
*/
if (!ppp->inuse) {
- dev_kfree_skb (skb, FREE_WRITE);
+ dev_kfree_skb (skb);
return 0;
}
/*
@@ -2903,7 +2903,7 @@
printk (KERN_ERR
"ppp_dev_xmit: %s not connected to a TTY!\n",
dev->name);
- dev_kfree_skb (skb, FREE_WRITE);
+ dev_kfree_skb (skb);
return 0;
}
/*
@@ -2916,7 +2916,7 @@
if (ppp->flags & SC_DEBUG)
printk (KERN_CRIT "ppp_dev_xmit: %s Null skb data\n",
dev->name);
- dev_kfree_skb (skb, FREE_WRITE);
+ dev_kfree_skb (skb);
return 0;
}
/*
@@ -2957,7 +2957,7 @@
break;
default: /* All others have no support at this time. */
- dev_kfree_skb (skb, FREE_WRITE);
+ dev_kfree_skb (skb);
return 0;
}
/*
@@ -2965,12 +2965,12 @@
*/
if (answer == 0) {
/* packet queued OK */
- dev_kfree_skb (skb, FREE_WRITE);
+ dev_kfree_skb (skb);
} else {
ppp->wbuf->locked = 0;
if (answer < 0) {
/* packet should be dropped */
- dev_kfree_skb (skb, FREE_WRITE);
+ dev_kfree_skb (skb);
answer = 0;
} else {
/* packet should be queued for later */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov