1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 19:08:26 +02:00
openwrt-xburst/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
juhosg b4fcbf1114 kernel: update to 2.6.32.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00

12 lines
331 B
Diff

--- a/drivers/net/cpmac.c
+++ b/drivers/net/cpmac.c
@@ -56,7 +56,7 @@ MODULE_PARM_DESC(dumb_switch, "Assume sw
#define CPMAC_VERSION "0.5.1"
/* frame size + 802.1q tag */
-#define CPMAC_SKB_SIZE (ETH_FRAME_LEN + 4)
+#define CPMAC_SKB_SIZE (ETH_FRAME_LEN + ETH_FCS_LEN + 4)
#define CPMAC_QUEUES 8
/* Ethernet registers */