diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2010-06-07 09:56:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-07 09:56:27 +0200 |
commit | 9227a46bfbac0516fb7428715a095e1bc59b872a (patch) | |
tree | 2306b6f10f51a14b815af079b35bcc5eadd003fb /drivers/net/smsc911x.h | |
parent | r8169: fix random mdio_write failures (diff) | |
download | linux-9227a46bfbac0516fb7428715a095e1bc59b872a.tar.xz linux-9227a46bfbac0516fb7428715a095e1bc59b872a.zip |
asix: check packet size against mtu+ETH_HLEN instead of ETH_FRAME_LEN
Driver checks received packet is too large in asix_rx_fixup() and fails if it is. Problem is
that MTU might be set larger than 1500 and asix fails to work correctly with VLAN tagged
packets. The check should be 'dev->net->mtu + ETH_HLEN' instead.
Tested with AX88772.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.h')
0 files changed, 0 insertions, 0 deletions