summaryrefslogtreecommitdiff
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
authorJay Cliburn <jacliburn@bellsouth.net>2008-01-15 04:56:41 +0300
committerJeff Garzik <jeff@garzik.org>2008-01-18 22:41:49 +0300
commit2a49128f0a6edee337174ea341c1d6d7565be350 (patch)
treef30e5ed6b355f82a6307f398f2fdf9e6827f972e /drivers/net/s2io.c
parentce3ba1399d2ba81b3699a82649df0cd8223c6662 (diff)
downloadlinux-2a49128f0a6edee337174ea341c1d6d7565be350.tar.xz
atl1: fix frame length bug
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. Tested-by: David Harris <david.harris@cpni-inc.com> Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.c')
0 files changed, 0 insertions, 0 deletions