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

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

diff -u --recursive --new-file v2.1.85/linux/drivers/net/sdla_ppp.c linux/drivers/net/sdla_ppp.c
@@ -697,7 +697,7 @@
 #ifdef CONFIG_SANGOMA_MANAGER
 	if(sangoma_ppp_manager(skb,card))
 	{
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 		return 0;
 	}
 #endif
@@ -732,7 +732,7 @@
 
 		}
 
-    		dev_kfree_skb(skb, FREE_WRITE);
+    		dev_kfree_skb(skb);
 		++ppp_priv_area->if_send_critical_non_ISR;
 		
 		save_flags(host_cpu_flags);
@@ -786,7 +786,7 @@
 	
 tx_done:	
 	if (!retry){
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 	}
 
 	card->wandev.critical = 0;
@@ -1280,21 +1280,21 @@
 				process_udp_driver_call(
 					UDP_PKT_FRM_NETWORK, card, skb,
 					dev, ppp_priv_area);
-                                 dev_kfree_skb(skb, FREE_READ);
+                                 dev_kfree_skb(skb);
 
 			} else if (udp_type == UDP_PTPIPE_TYPE){
 				++ppp_priv_area->rx_intr_PTPIPE_request;
 				err = process_udp_mgmt_pkt(
 					UDP_PKT_FRM_NETWORK, card, 
 					skb, dev, ppp_priv_area);
-				dev_kfree_skb(skb, FREE_READ);
+				dev_kfree_skb(skb);
 			} else
 #endif
 				if (handle_IPXWAN(skb->data,card->devname, card->wandev.enable_IPX, card->wandev.network_number, skb->protocol)) {
 				
 				if( card->wandev.enable_IPX) {
 					ppp_send(card, skb->data, skb->len, ETH_P_IPX);
-                        		dev_kfree_skb(skb, FREE_READ);
+                        		dev_kfree_skb(skb);
 
 				} else {
 					++card->wandev.stats.rx_dropped;

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