From: Jussi Kivilinna Date: Mon, 7 Jun 2010 07:56:27 +0000 (-0700) Subject: asix: check packet size against mtu+ETH_HLEN instead of ETH_FRAME_LEN X-Git-Tag: v2.6.35-rc3~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9227a46bfbac0516fb7428715a095e1bc59b872a;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed