e1000: fix bug with shared interrupt during reset
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 28 Jan 2009 00:41:58 +0000 (16:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2009 00:41:58 +0000 (16:41 -0800)
commit15b2bee22a0390d951301b53e83df88d0350c499
tree46f8f27df702ad07dd5724710bcb48bf75eaf9a0
parent9fa5fdf291c9b58b1cb8b4bb2a0ee57efa21d635
e1000: fix bug with shared interrupt during reset

A nasty bug was found where an MTU change (or anything else that caused a
reset) could race with the interrupt code.  The interrupt code was entered
by a shared interrupt during the MTU change.

This change prevents the interrupt code from running while the driver is in
the middle of its reset path.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c