patch-2.1.86 linux/drivers/isdn/hisax/isdnl1.c

Next file: linux/drivers/isdn/hisax/isdnl2.c
Previous file: linux/drivers/isdn/hisax/elsa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/isdn/hisax/isdnl1.c linux/drivers/isdn/hisax/isdnl1.c
@@ -453,7 +453,7 @@
 				stptr = stptr->next;
 			}
 			SET_SKB_FREE(skb);
-			dev_kfree_skb(skb, FREE_READ);
+			dev_kfree_skb(skb);
 		} else {
 			found = 0;
 			while (stptr != NULL)
@@ -478,7 +478,7 @@
 					dlogframe(sp, skb->data + 4, skb->len - 4, tmp);
 				}
 				SET_SKB_FREE(skb);
-				dev_kfree_skb(skb, FREE_READ);
+				dev_kfree_skb(skb);
 			}
 		}
 
@@ -714,7 +714,7 @@
 
 	while ((skb = skb_dequeue(&sp->sq))) {
 		SET_SKB_FREE(skb);
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 	}
 }
 
@@ -798,15 +798,15 @@
 		}
 		while ((skb = skb_dequeue(&hs->rqueue))) {
 			SET_SKB_FREE(skb);
-			dev_kfree_skb(skb, FREE_READ);
+			dev_kfree_skb(skb);
 		}
 		while ((skb = skb_dequeue(&hs->squeue))) {
 			SET_SKB_FREE(skb);
-			dev_kfree_skb(skb, FREE_WRITE);
+			dev_kfree_skb(skb);
 		}
 		if (hs->tx_skb) {
 			SET_SKB_FREE(hs->tx_skb);
-			dev_kfree_skb(hs->tx_skb, FREE_WRITE);
+			dev_kfree_skb(hs->tx_skb);
 			hs->tx_skb = NULL;
 		}
 	}
@@ -828,15 +828,15 @@
 	}
 	while ((skb = skb_dequeue(&csta->rq))) {
 		SET_SKB_FREE(skb);
-		dev_kfree_skb(skb, FREE_READ);
+		dev_kfree_skb(skb);
 	}
 	while ((skb = skb_dequeue(&csta->sq))) {
 		SET_SKB_FREE(skb);
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 	}
 	if (csta->tx_skb) {
 		SET_SKB_FREE(csta->tx_skb);
-		dev_kfree_skb(csta->tx_skb, FREE_WRITE);
+		dev_kfree_skb(csta->tx_skb);
 		csta->tx_skb = NULL;
 	}
 	switch (csta->typ) {
@@ -1219,7 +1219,7 @@
 
 	while ((skb = skb_dequeue(&hsp->squeue))) {
 		SET_SKB_FREE(skb);
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov