patch-2.4.6 linux/net/atm/clip.c
Next file: linux/net/atm/common.c
Previous file: linux/net/appletalk/aarp.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jun 27 17:10:55 2001
- Orig file:
v2.4.5/linux/net/atm/clip.c
- Orig date:
Wed Apr 18 14:40:07 2001
diff -u --recursive --new-file v2.4.5/linux/net/atm/clip.c linux/net/atm/clip.c
@@ -685,8 +685,6 @@
static void atmarpd_close(struct atm_vcc *vcc)
{
- struct sk_buff *skb;
-
DPRINTK("atmarpd_close\n");
atmarpd = NULL; /* assumed to be atomic */
barrier();
@@ -695,7 +693,7 @@
if (skb_peek(&vcc->recvq))
printk(KERN_ERR "atmarpd_close: closing with requests "
"pending\n");
- while ((skb = skb_dequeue(&vcc->recvq))) kfree_skb(skb);
+ skb_queue_purge(&vcc->recvq);
DPRINTK("(done)\n");
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)