android_kernel_motorola_sm6225/drivers/net/e1000e
Jesse Brandeburg 9926146b15 e1000/e1000e: don't use small hardware rx buffers
When testing the "e1000: enhance frame fragment detection" (and e1000e)
patches we found some bugs with reducing the MTU size.  The 1024 byte
descriptor used with the 1000 mtu test also (re) introduced the
(originally) reported bug, and causes us to need the e1000_clean_tx_irq
"enhance frame fragment detection" fix.

So what has occured here is that 2.6.32 is only vulnerable for mtu <
1500 due to the jumbo specific routines in both e1000 and e1000e.
So, 2.6.32 needs the 2kB buffer len fix for those smaller MTUs, but
is not vulnerable to the original issue reported.  It has been pointed
out that this vulnerability needs to be patched in older kernels that
don't have the e1000 jumbo routine.  Without the jumbo routines, we
need the "enhance frame fragment detection" fix the e1000, old
e1000e is only vulnerable for < 1500 mtu, and needs a similar
fix.  We split the patches up to provide easy backport paths.

There is only a slight bit of extra code when this fix and the
original "enhance frame fragment detection" fixes are applied, so
please apply both, even though it is a bit of overkill.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-23 01:08:53 -08:00
..
82571.c e1000e: perform 10/100 adaptive IFS only on parts that support it 2010-01-08 00:35:30 -08:00
defines.h e1000e: minor correction to name of bit in CTRL_EXT register 2009-12-08 20:10:11 -08:00
e1000.h e1000e: enhance frame fragment detection 2010-01-20 16:21:23 -08:00
es2lan.c e1000e: perform 10/100 adaptive IFS only on parts that support it 2010-01-08 00:35:30 -08:00
ethtool.c e1000e: Use sizeof struct rather than pointer in e1000_get_eeprom() 2009-12-02 00:35:56 -08:00
hw.h e1000e: perform 10/100 adaptive IFS only on parts that support it 2010-01-08 00:35:30 -08:00
ich8lan.c e1000e: workaround link issues on busy hub in half duplex on 82577/82578 2010-01-13 17:12:46 -08:00
lib.c e1000e: fix and commonize code for setting the receive address registers 2010-01-08 00:35:31 -08:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c e1000/e1000e: don't use small hardware rx buffers 2010-01-23 01:08:53 -08:00
param.c e1000e: update copyright information 2009-11-21 11:34:09 -08:00
phy.c e1000e: MDIO slow mode should always be done for 82577 2010-01-13 17:12:46 -08:00