patch-2.1.86 linux/drivers/net/3c523.c

Next file: linux/drivers/net/3c59x.c
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/net/3c523.c linux/drivers/net/3c523.c
@@ -1154,7 +1154,7 @@
       elmc_attn586();
       dev->trans_start = jiffies;
       if(!i) {
-        dev_kfree_skb(skb,FREE_WRITE);
+        dev_kfree_skb(skb);
 	  }
       WAIT_4_SCB_CMD();
       if( (p->scb->status & CU_ACTIVE)) /* test it, because CU sometimes doesn't start immediately */
@@ -1179,7 +1179,7 @@
     p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0]));
     dev->trans_start = jiffies;
     p->nop_point = next_nop;
-    dev_kfree_skb(skb,FREE_WRITE);
+    dev_kfree_skb(skb);
 #  endif
 #else
     p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len;
@@ -1201,7 +1201,7 @@
       dev->tbusy = 0;
     }
     sti();
-    dev_kfree_skb(skb,FREE_WRITE);
+    dev_kfree_skb(skb);
 #endif
   }
   return 0;

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