xen-netback: Disable NAPI after disabling interrupts
authorZoltan Kiss <zoltan.kiss@linaro.org>
Tue, 28 Oct 2014 15:29:30 +0000 (15:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2014 19:59:37 +0000 (15:59 -0400)
commit8fe78989c3445a221cfcc54964e7e62718883615
tree5093098046ab0befc0f274cd80eff92d5d3cce9e
parent7fd2561e4ebdd070ebba6d3326c4c5b13942323f
xen-netback: Disable NAPI after disabling interrupts

Otherwise the interrupt handler still calls napi_complete. Although it
won't schedule NAPI again as either NAPI_STATE_DISABLE or
NAPI_STATE_SCHED is set, it is just unnecessary, and it makes more
sense to do this way.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c