patch-2.3.99-pre6 linux/drivers/net/hp100.c

Next file: linux/drivers/net/ne2k-pci.c
Previous file: linux/drivers/net/hamradio/baycom_epp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -1800,9 +1800,9 @@
 	     donecount);
 #endif
 #ifdef LINUX_2_1
-      dev_kfree_skb( lp->txrhead->skb );
+      dev_kfree_skb_any( lp->txrhead->skb );
 #else
-      dev_kfree_skb( lp->txrhead->skb, FREE_WRITE );
+      dev_kfree_skb_any( lp->txrhead->skb, FREE_WRITE );
 #endif
       lp->txrhead->skb=(void *)NULL;
       lp->txrhead=lp->txrhead->next;
@@ -1960,9 +1960,9 @@
   hp100_ints_on();
 	
 #ifdef LINUX_2_1
-  dev_kfree_skb( skb );
+  dev_kfree_skb_any( skb );
 #else
-  dev_kfree_skb( skb, FREE_WRITE );
+  dev_kfree_skb_any( skb, FREE_WRITE );
 #endif
 	
 #ifdef HP100_DEBUG_TX
@@ -2198,9 +2198,9 @@
 #endif
 	  if(ptr->skb!=NULL)
 #ifdef LINUX_2_1
-	    dev_kfree_skb( ptr->skb );
+	    dev_kfree_skb_any( ptr->skb );
 #else
-	    dev_kfree_skb( ptr->skb, FREE_READ );					
+	    dev_kfree_skb_any( ptr->skb, FREE_READ );					
 #endif
           lp->stats.rx_errors++;
         }

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