patch-2.1.86 linux/drivers/net/sdla_x25.c

Next file: linux/drivers/net/seeq8005.c
Previous file: linux/drivers/net/sdla_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/net/sdla_x25.c linux/drivers/net/sdla_x25.c
@@ -759,7 +759,7 @@
 			
 			return dev->tbusy;
 		}
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 		
 		save_flags(host_cpu_flags);
                 cli();
@@ -832,7 +832,7 @@
 tx_done:
 	if (!dev->tbusy)
 	{
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 	}
 	card->wandev.critical = 0;
 	save_flags(host_cpu_flags);
@@ -1000,7 +1000,7 @@
 	if (skb_tailroom(skb) < len)
 	{
 		/* No room for the packet. Call off the whole thing! */
-		dev_kfree_skb(skb, FREE_READ);
+		dev_kfree_skb(skb);
 		chan->rx_skb = NULL;
 		if (qdm & 0x01) chan->drop_sequence = 1;
 
@@ -1023,7 +1023,7 @@
 	if (!skb->protocol && !wan_type_trans(skb, dev))
 	{
 		/* can't decapsulate packet */
-		dev_kfree_skb(skb, FREE_READ);
+		dev_kfree_skb(skb);
 		++chan->ifstats.rx_errors;
 	}
 	else
@@ -1038,7 +1038,7 @@
 				}
 				else
 				{
-					dev_kfree_skb(skb, FREE_WRITE);
+					dev_kfree_skb(skb);
 				}
 			}
 			else
@@ -1211,7 +1211,7 @@
 		{
 			chan->tx_skb = NULL;
 			dev->tbusy = 0;
-			dev_kfree_skb(skb, FREE_WRITE);
+			dev_kfree_skb(skb);
 		}
 
 		/* If SVC has been idle long enough, close virtual circuit */

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