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

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

diff -u --recursive --new-file v2.1.85/linux/drivers/net/ni52.c linux/drivers/net/ni52.c
@@ -1203,7 +1203,7 @@
 			ni_attn586();
 			dev->trans_start = jiffies;
 			if(!i)
-				dev_kfree_skb(skb,FREE_WRITE);
+				dev_kfree_skb(skb);
 			WAIT_4_SCB_CMD();
 			if( (p->scb->cus & CU_ACTIVE)) /* test it, because CU sometimes doesn't start immediately */
 				break;
@@ -1223,7 +1223,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;
@@ -1248,7 +1248,7 @@
 			p->lock = 0;
 			restore_flags(flags);
 		}
-		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