summaryrefslogtreecommitdiff
path: root/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
blob: 022da4fab55566d2768863eeae31b69d1b4e14d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/cpmac.c	2010-02-11 23:52:19.000000000 +0000
+++ b/drivers/net/cpmac.c	2010-02-20 20:32:58.000000000 +0000
@@ -57,7 +57,7 @@
 
 #define CPMAC_VERSION "0.5.0"
 /* 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 */