summaryrefslogtreecommitdiff
path: root/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
blob: a0d5ec3c76192fb052100e47d14a8ae4c22da44b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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 */