forcedeth: Acknowledge only interrupts that are being processed
authorMike Ditto <mditto@google.com>
Sat, 5 Nov 2011 14:38:21 +0000 (14:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2011 18:31:24 +0000 (13:31 -0500)
commit2a4e7a085fb44369c450c92cf8bd53b91f874a57
treec96dd683da76b9698281521d249a11ece0ad59ea
parentf9c4082df59e43c6667db197a4fb3eb3286f3fc1
forcedeth: Acknowledge only interrupts that are being processed

This is to avoid a race, accidentally acknowledging an interrupt that
we didn't notice and won't immediately process.  This is based solely
on code inspection; it is not known if there was an actual bug here.

Signed-off-by: David Decotigny <david.decotigny@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c