e1000e: flow control thresholds not correct when changing mtu
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 19 Nov 2009 12:35:45 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2009 21:53:27 +0000 (13:53 -0800)
commit610c992884c80566de31d71ec361a5a7b2a0ed5e
tree7d8340575b3a7b60930027063a0ec0c48441d267
parent4c86e0b9455c8fa8122fc2d10935e892838c8568
e1000e: flow control thresholds not correct when changing mtu

When changing MTU, save it off prior to resetting otherwise the flow control
thresholds may be miscalculated.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c