patch-2.0.30 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/lance.c
Previous file: linux/drivers/net/i82586.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Apr 8 08:47:46 1997
- Orig file:
v2.0.29/linux/drivers/net/ibmtr.c
- Orig date:
Thu Aug 29 09:15:14 1996
diff -u --recursive --new-file v2.0.29/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -1460,9 +1460,10 @@
return 0;
}
- if (set_bit(0,(void *)&dev->tbusy)!=0)
+ if (set_bit(0,(void *)&dev->tbusy)!=0) {
+ dev_kfree_skb(skb, FREE_WRITE);
DPRINTK("Transmitter access conflict\n");
- else {
+ } else {
/* Save skb; we'll need it when the adapter asks for the data */
ti->current_skb=skb;
writeb(XMIT_UI_FRAME, ti->srb + offsetof(struct srb_xmit, command));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov