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

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

diff -u --recursive --new-file v2.1.85/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -790,7 +790,7 @@
 						      DPRINTK("error on xmit_dir_frame request: %02X\n",
 							      xmit_ret_code);
 						      if (ti->current_skb) {
-							      dev_kfree_skb(ti->current_skb, FREE_WRITE);
+							      dev_kfree_skb(ti->current_skb);
 							      ti->current_skb=NULL;
 						      }
 						      dev->tbusy=0;
@@ -807,7 +807,7 @@
 						      DPRINTK("error on xmit_ui_frame request: %02X\n",
 							      xmit_ret_code);
 						      if (ti->current_skb) {
-							      dev_kfree_skb(ti->current_skb, FREE_WRITE);
+							      dev_kfree_skb(ti->current_skb);
 							      ti->current_skb=NULL;
 						      }
 						      dev->tbusy=0;
@@ -1305,7 +1305,7 @@
 
 	writeb(RESP_IN_ASB, ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD);
 	dev->tbusy=0;
-	dev_kfree_skb(ti->current_skb,FREE_WRITE);
+	dev_kfree_skb(ti->current_skb);
 	ti->current_skb=NULL;
 	mark_bh(NET_BH);
 	if (ti->readlog_pending) ibmtr_readlog(dev);

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