patch-2.4.22 linux-2.4.22/drivers/net/eexpress.c

Next file: linux-2.4.22/drivers/net/gmac.c
Previous file: linux-2.4.22/drivers/net/eepro100.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/eexpress.c linux-2.4.22/drivers/net/eexpress.c
@@ -654,7 +654,7 @@
 		buf = skb_padto(buf, ETH_ZLEN);
 		if(buf == NULL)
 			return 0;
-		length = buf->len;
+		length = ETH_ZLEN;
 	}
 
 	disable_irq(dev->irq);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)