Skip to content
Snippets Groups Projects
Commit d57625ca authored by Jay Cliburn's avatar Jay Cliburn Committed by Greg Kroah-Hartman
Browse files

atl1: fix frame length bug


Upstream commit: 2a49128f

The driver sets up the hardware to accept a frame with max length
equal to MTU + Ethernet header + FCS + VLAN tag, but we neglect to
add the VLAN tag size to the ingress buffer.  When a VLAN-tagged
frame arrives, the hardware passes it, but bad things happen
because the buffer is too small.  This patch fixes that.

Thanks to David Harris for reporting the bug and testing the fix.

Signed-off-by: default avatarJay Cliburn <jacliburn@bellsouth.net>
Tested-by: default avatarDavid Harris <david.harris@cpni-inc.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e04f1635
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment