patch-2.4.22 linux-2.4.22/drivers/isdn/tpam/tpam_queues.c

Next file: linux-2.4.22/drivers/macintosh/adb.c
Previous file: linux-2.4.22/drivers/isdn/isdn_ppp.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/isdn/tpam/tpam_queues.c linux-2.4.22/drivers/isdn/tpam/tpam_queues.c
@@ -146,6 +146,7 @@
 		do {
 			hpic = readl(card->bar0 + TPAM_HPIC_REGISTER);
 			if (waiting_too_long++ > 0xfffffff) {
+				kfree_skb(skb); 
 				spin_unlock(&card->lock);
 				printk(KERN_ERR "TurboPAM(tpam_irq): "
 						"waiting too long...\n");

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