summaryrefslogtreecommitdiff
path: root/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch')
-rw-r--r--target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch b/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
index 022da4fab5..a0d5ec3c76 100644
--- a/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
+++ b/target/linux/ar7/patches-2.6.32/960-cpmac_allow_vlan.patch
@@ -1,8 +1,8 @@
---- 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 @@
+--- 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.0"
+ #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)