2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/drivers/net/atl1
Jay Cliburn 2a49128f0a 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>
2008-01-18 14:41:49 -05:00
..
atl1_ethtool.c [netdrvr] Stop using legacy hooks ->self_test_count, ->get_stats_count 2007-10-10 16:51:45 -07:00
atl1_hw.c drivers/net/: all drivers/net/ cleanup with ARRAY_SIZE 2007-10-10 16:51:15 -07:00
atl1_hw.h atl1: use kernel provided ethernet length constants 2007-07-24 16:28:41 -04:00
atl1_main.c atl1: fix frame length bug 2008-01-18 14:41:49 -05:00
atl1_param.c [netdrvr] atl1: fix build 2007-05-08 02:32:17 -04:00
atl1.h Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2007-07-16 17:48:54 -07:00
Makefile Add Attansic L1 ethernet driver. 2007-02-08 10:42:37 -05:00