summaryrefslogtreecommitdiff
path: root/drivers/net/gianfar.h
diff options
context:
space:
mode:
authorDai Haruki <dai.haruki@freescale.com>2008-03-24 18:53:26 +0300
committerJeff Garzik <jeff@garzik.org>2008-03-26 07:44:33 +0300
commitfaa89577621b4296a8869e75b90a546c951df968 (patch)
treefbb3e05c341cae5f68170f71d144fcf3a8bf923e /drivers/net/gianfar.h
parenta3cb96a13cf74b3e5bb4ecca0c39df1022539059 (diff)
downloadlinux-faa89577621b4296a8869e75b90a546c951df968.tar.xz
gianfar: Fix frame size calculation when hardware VLAN acceleration is on
In gfar_change_mtu(), the frame size needs to be increased to account for the extra 4 bytes VLAN adds to the ethernet header. However, it was being increased by the length of the whole header (18 bytes), which is wrong. Signed-off-by: Dai Haruki <dai.haruki@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/gianfar.h')
0 files changed, 0 insertions, 0 deletions