android_kernel_xiaomi_sm8350/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_main.c atl1: fix frame length bug 2008-01-18 14:41:49 -05:00
atl1_param.c
atl1.h
Makefile