patch-2.1.86 linux/drivers/net/hamradio/pi2.c
Next file: linux/drivers/net/hamradio/pt.c
Previous file: linux/drivers/net/hamradio/mkiss.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Feb 10 13:07:50 1998
- Orig file:
v2.1.85/linux/drivers/net/hamradio/pi2.c
- Orig date:
Sat Nov 29 10:33:19 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/net/hamradio/pi2.c linux/drivers/net/hamradio/pi2.c
@@ -408,7 +408,7 @@
}
switch (lp->tstate) {
case ACTIVE:
- kfree_skb(lp->sndbuf, FREE_WRITE);
+ kfree_skb(lp->sndbuf);
lp->sndbuf = NULL;
lp->tstate = FLAGOUT;
tdelay(lp, lp->squeldelay);
@@ -726,7 +726,7 @@
/* stuffing a char satisfies Interrupt condition */
} else {
/* No more to send */
- kfree_skb(lp->sndbuf, FREE_WRITE);
+ kfree_skb(lp->sndbuf);
lp->sndbuf = NULL;
if ((rdscc(lp->cardbase, cmd, R0) & 0x40)) {
/* Did we underrun? */
@@ -778,7 +778,7 @@
switch (lp->tstate) {
case ACTIVE: /* Unexpected underrun */
- kfree_skb(lp->sndbuf, FREE_WRITE);
+ kfree_skb(lp->sndbuf);
lp->sndbuf = NULL;
wrtscc(lp->cardbase, cmd, R0, SEND_ABORT);
lp->tstate = FLAGOUT;
@@ -1553,7 +1553,7 @@
/* Free any buffers left in the hardware transmit queue */
while ((ptr = skb_dequeue(&lp->sndq)) != NULL)
- kfree_skb(ptr, FREE_WRITE);
+ kfree_skb(ptr);
restore_flags(flags);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov