commit | 30765d0502905a9248e5de72fc7ac83c23422861 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <florian@openwrt.org> | Sun Mar 07 00:55:26 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 07 15:25:52 2010 -0800 |
tree | a026bb9bdfa387be39f61d9c498d0f59eea4e144 | |
parent | 8d15d3864a733476931f7e0b3d82824cddc766c2 [diff] |
cpmac: fix the receiving of 802.1q frames Despite what the comment above CPMAC_SKB_SIZE says, the hardware also needs to account for the FCS length in a received frame. This patch fix the receiving of 802.1q frames which have 4 more bytes. While at it unhardcode the definition and use the one from if_vlan.h. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>