net8139: fix a race at the end of NAPI
authorFigo.zhang <zhangtianfei@leadcoretech.com>
Mon, 7 Jun 2010 21:13:22 +0000 (21:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2010 06:14:08 +0000 (23:14 -0700)
commit349124a00754129a5f1e43efa84733e364bf3749
treeacff33465eb6b21aadca78657a7fa330d6987936
parent07a0f0f07a68014c92c752a5598102372bddf46e
net8139: fix a race at the end of NAPI

fix a race at the end of NAPI complete processing, it had
better do __napi_complete() first before re-enable interrupt.

Signed-off-by:Figo.zhang <figo1802@gmail.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/8139cp.c
drivers/net/8139too.c