o Fix ethernet as modules problems (Alan Cox)
o Fix 8139too and rtl8139 padding (Alan Cox)
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 24
-EXTRAVERSION = -rc3
+EXTRAVERSION = -rc4
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
return 0;
}
}
+
+ if(skb->len < ETH_ZLEN)
+ {
+ skb = skb_padto(skb, ETH_ZLEN);
+ if(skb == NULL)
+ return 0;
+ }
+
mb();
/* Calculate the next Tx descriptor entry. */
rtl8129_tx_timeout(dev);
return 1;
}
+
+ if(skb->len < ETH_ZLEN)
+ {
+ skb = skb_padto(skb, ETH_ZLEN);
+ if(skb == NULL)
+ {
+ clear_bit(0, (void *)&dev->tbusy);
+ return 0;
+ }
+ }
/* Calculate the next Tx descriptor entry. */
entry = tp->cur_tx % NUM_TX_DESC;
EXPORT_SYMBOL(__kfree_skb);
EXPORT_SYMBOL(skb_clone);
EXPORT_SYMBOL(skb_copy);
+EXPORT_SYMBOL(skb_pad);
EXPORT_SYMBOL(netif_rx);
EXPORT_SYMBOL(dev_add_pack);
EXPORT_SYMBOL(dev_remove_pack);