net: calxedaxgmac: enable interrupts after napi_enable
authorRob Herring <rob.herring@calxeda.com>
Fri, 30 Aug 2013 21:49:25 +0000 (16:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 02:21:15 +0000 (22:21 -0400)
commitf7ea10520d7dacbc416d130c4b10505c66bf4c36
tree22fc089169eec46e71464711ee823e5c5272a2a0
parentcbe157b60c8e70d4b4dc937dfdd39525d8f47b46
net: calxedaxgmac: enable interrupts after napi_enable

Fix a race condition where the interrupt handler may have called
napi_schedule before napi_enable is called. This would disable interrupts
and never actually schedule napi to run.

Reported-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/xgmac.c