patch-2.0.30 linux/drivers/net/defxx.c

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

diff -u --recursive --new-file v2.0.29/linux/drivers/net/defxx.c linux/drivers/net/defxx.c
@@ -3138,6 +3138,7 @@
 		printk("%s: Invalid packet length - %lu bytes\n", dev->name, skb->len);
 		bp->xmt_length_errors++;	/* bump error counter */
 		dev_tint(dev);				/* dequeue packets from xmt queue and send them */
+		dev_kfree_skb(skb, FREE_WRITE);
 		return(0);					/* return "success" */
 		}
 

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